修复事件未添加到检测中

This commit is contained in:
YuXifeng 2025-04-03 17:58:19 +08:00
parent fc1ce99c7c
commit a02b0f8c4b

View File

@ -33,7 +33,7 @@ void Flasher_tool_task(void *pvParameter)
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) {
ESP_LOGI(TAG, "connect_to_target initialization ing.");
lv_obj_t *focused_obj = lv_group_get_focused(lv_group_get_default()); // 获取当前焦点对象