summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootloader/xduoox3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader/xduoox3.c b/bootloader/xduoox3.c
index aa27f4ea86..7ed672affe 100644
--- a/bootloader/xduoox3.c
+++ b/bootloader/xduoox3.c
@@ -100,6 +100,9 @@ static void usb_mode(void)
100 100
101 if (button == SYS_USB_CONNECTED) 101 if (button == SYS_USB_CONNECTED)
102 break; /* Hit */ 102 break; /* Hit */
103
104 if (button == BUTTON_POWER)
105 return;
103 } 106 }
104 107
105 if (button == SYS_USB_CONNECTED) { 108 if (button == SYS_USB_CONNECTED) {