Skip to content

按键定时器没有创建 #10

@HavensTian

Description

@HavensTian

应该加上这个标志,否则按键定时器还没有创建就跑到这了,会导致初始化重启
--- 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)
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions