修复事件未添加到检测中
This commit is contained in:
parent
fc1ce99c7c
commit
a02b0f8c4b
@ -33,7 +33,7 @@ void Flasher_tool_task(void *pvParameter)
|
|||||||
|
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
bits = xEventGroupWaitBits(Flasher_eventGroup, EVENT_CONNECT,pdFALSE,pdFALSE,portMAX_DELAY);
|
bits = xEventGroupWaitBits(Flasher_eventGroup, EVENT_CONNECT | EVENT_BURN_BEGIN,pdFALSE,pdFALSE,portMAX_DELAY);
|
||||||
if (bits&EVENT_CONNECT) {
|
if (bits&EVENT_CONNECT) {
|
||||||
ESP_LOGI(TAG, "connect_to_target initialization ing.");
|
ESP_LOGI(TAG, "connect_to_target initialization ing.");
|
||||||
lv_obj_t *focused_obj = lv_group_get_focused(lv_group_get_default()); // 获取当前焦点对象
|
lv_obj_t *focused_obj = lv_group_get_focused(lv_group_get_default()); // 获取当前焦点对象
|
||||||
@ -110,7 +110,7 @@ void Flasher_tool_task(void *pvParameter)
|
|||||||
}
|
}
|
||||||
free(load_buff);
|
free(load_buff);
|
||||||
loader_port_esp32_deinit();
|
loader_port_esp32_deinit();
|
||||||
|
|
||||||
xEventGroupClearBits(Flasher_eventGroup,EVENT_BURN_BEGIN);
|
xEventGroupClearBits(Flasher_eventGroup,EVENT_BURN_BEGIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user