Commit 5cdb1169 authored by Projects's avatar Projects

example: Minor fix (update status bar on some events).

parent cd1fddc1
...@@ -148,11 +148,9 @@ void example_main(void* params) { ...@@ -148,11 +148,9 @@ void example_main(void* params) {
return; // go back to the main menu return; // go back to the main menu
// no break; fall through // no break; fall through
case RTC_TICK: // there was no break, it handles BUTTON_PRESSED too
ui_update(&evt); // forward event to widgets
default: // suppress warnings default: // suppress warnings
// ignore events that were not mentioned above // ignore events that were not mentioned above
ui_update(&evt); // forward event to widgets
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment