Fixed bluetooth status show bug.

This commit is contained in:
xiaojiazhu 2023-11-07 15:52:10 +08:00
parent d9f7089394
commit 4ea2045894
2 changed files with 2 additions and 1 deletions

View File

@ -520,6 +520,7 @@ static void update_bluetooth(void)
// SF_BLE_BUTT,
const int EMPTY_IMAGE = 0;
SF_BLE_STATUS_E status = sf_get_ble_status();
// printf(" ============ sf_get_ble_status = %d\n", status);
lv_plugin_res_id res[] = {
EMPTY_IMAGE,
LV_PLUGIN_IMG_ID_SF_BLUETOOTH_UNSUPPORT,

View File

@ -95,7 +95,7 @@ static pthread_mutex_t Param_mutexLock;
static int shared_condition = 1;
static SINT32 WifiSocket = 0;
static UINT8 UiparaFlag = 0;
static SF_BLE_STATUS_E BleStatus = SF_BLE_BUTT;
static SF_BLE_STATUS_E BleStatus = SF_BLE_OK;
static SF_THREAD_S UpgradeTskParam =
{