summaryrefslogtreecommitdiff
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 6d45a64023..f04681c998 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -233,9 +233,9 @@ bool clean_shutdown(void)
233 return false; 233 return false;
234} 234}
235 235
236int default_event_handler(int button) 236int default_event_handler(int event)
237{ 237{
238 switch(button) 238 switch(event)
239 { 239 {
240 case SYS_USB_CONNECTED: 240 case SYS_USB_CONNECTED:
241 usb_screen(); 241 usb_screen();