fw: app: Fix reset behavior
This commit is contained in:
parent
40ba2ea4dc
commit
fff84ff85e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user