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)
if (button == SYS_USB_CONNECTED)
break; /* Hit */
+
+ if (button == BUTTON_POWER)
+ return;
}
if (button == SYS_USB_CONNECTED) {