Fixed bluetooth status show bug.
This commit is contained in:
parent
d9f7089394
commit
4ea2045894
|
@ -520,6 +520,7 @@ static void update_bluetooth(void)
|
||||||
// SF_BLE_BUTT,
|
// SF_BLE_BUTT,
|
||||||
const int EMPTY_IMAGE = 0;
|
const int EMPTY_IMAGE = 0;
|
||||||
SF_BLE_STATUS_E status = sf_get_ble_status();
|
SF_BLE_STATUS_E status = sf_get_ble_status();
|
||||||
|
// printf(" ============ sf_get_ble_status = %d\n", status);
|
||||||
lv_plugin_res_id res[] = {
|
lv_plugin_res_id res[] = {
|
||||||
EMPTY_IMAGE,
|
EMPTY_IMAGE,
|
||||||
LV_PLUGIN_IMG_ID_SF_BLUETOOTH_UNSUPPORT,
|
LV_PLUGIN_IMG_ID_SF_BLUETOOTH_UNSUPPORT,
|
||||||
|
|
|
@ -95,7 +95,7 @@ static pthread_mutex_t Param_mutexLock;
|
||||||
static int shared_condition = 1;
|
static int shared_condition = 1;
|
||||||
static SINT32 WifiSocket = 0;
|
static SINT32 WifiSocket = 0;
|
||||||
static UINT8 UiparaFlag = 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 =
|
static SF_THREAD_S UpgradeTskParam =
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user