diff --git a/firmware/app.c b/firmware/app.c index 9262690..1a7ca5a 100644 --- a/firmware/app.c +++ b/firmware/app.c @@ -6,6 +6,8 @@ #define TIMER_INMENU TIMER_APP0 #define TIMER_AUX TIMER_APP1 +static int clr = 1; + void axl_test() { int ret; @@ -118,7 +120,7 @@ void wdt_test() void app_init() { - return; + clr = 1; } void app_suspend() @@ -130,7 +132,6 @@ void app_suspend() enum app_return app_mainloop() { static int app_sel = 0; - static int clr = 1; if (button_event(EV_PRESS)) { app_sel = (app_sel + 1) % APP_COUNT;