summaryrefslogtreecommitdiff
path: root/bootloader/gigabeat-s.c
diff options
context:
space:
mode:
Diffstat (limited to 'bootloader/gigabeat-s.c')
-rw-r--r--bootloader/gigabeat-s.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/bootloader/gigabeat-s.c b/bootloader/gigabeat-s.c
index 9c5ad93d1f..c29265ddad 100644
--- a/bootloader/gigabeat-s.c
+++ b/bootloader/gigabeat-s.c
@@ -71,11 +71,15 @@ static bool pause_if_button_pressed(bool pre_usb)
71 if (pre_usb && !usb_plugged()) 71 if (pre_usb && !usb_plugged())
72 return false; 72 return false;
73 73
74 /* Exit if no button or only the menu (settings reset) button */ 74 /* Exit if no button or only select buttons that have other
75 * functions */
75 switch (button) 76 switch (button)
76 { 77 {
77 case BUTTON_MENU: 78 case USB_BL_INSTALL_MODE_BTN:
78 case BUTTON_NONE: 79 if (!pre_usb)
80 break; /* Only before USB detect */
81 case BUTTON_MENU: /* Settings reset */
82 case BUTTON_NONE: /* Nothing pressed */
79 return true; 83 return true;
80 } 84 }
81 85