diff options
Diffstat (limited to 'apps/screens.c')
-rw-r--r-- | apps/screens.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c index 3917f31a96..eb34103a4a 100644 --- a/apps/screens.c +++ b/apps/screens.c | |||
@@ -115,8 +115,8 @@ static int handle_usb_events(void) | |||
115 | button = get_hid_usb_action(); | 115 | button = get_hid_usb_action(); |
116 | 116 | ||
117 | /* On mode change, we need to refresh the screen */ | 117 | /* On mode change, we need to refresh the screen */ |
118 | if (button == ACTION_USB_HID_MODE || | 118 | if (button == ACTION_USB_HID_MODE_SWITCH_NEXT || |
119 | button == ACTION_USB_HID_MODE_LONG) | 119 | button == ACTION_USB_HID_MODE_SWITCH_PREV) |
120 | { | 120 | { |
121 | break; | 121 | break; |
122 | } | 122 | } |