-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
应该加上这个标志,否则按键定时器还没有创建就跑到这了,会导致初始化重启
--- a/project/common/apps/buttons/buttons.c
+++ b/project/common/apps/buttons/buttons.c
@@ -331,6 +331,7 @@ static void buttons_process_thread(void *arg)
int prev_buttons_state = 0;
button_obj *obj;
-
buttons_timer_time_up = false; while (buttons_thread_run_flag) { /* wait a button trigger or button timer time is up */ if (button_impl.low_level_wait_semaphore)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels