diff options
| -rw-r--r-- | apps/misc.c | 4 | ||||
| -rw-r--r-- | apps/misc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/misc.c b/apps/misc.c index 6d45a64..f04681c 100644 --- a/apps/misc.c +++ b/apps/misc.c @@ -233,9 +233,9 @@ bool clean_shutdown(void) return false; } -int default_event_handler(int button) +int default_event_handler(int event) { - switch(button) + switch(event) { case SYS_USB_CONNECTED: usb_screen(); diff --git a/apps/misc.h b/apps/misc.h index 097b6cc..9588886 100644 --- a/apps/misc.h +++ b/apps/misc.h @@ -40,6 +40,6 @@ void screen_dump(void); bool settings_parseline(char* line, char** name, char** value); bool clean_shutdown(void); -int default_event_handler(int button); +int default_event_handler(int event); #endif |