diff options
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r-- | firmware/export/usb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 72315404e3..d4a6550a22 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -64,7 +64,8 @@ enum { | |||
64 | #elif CONFIG_KEYPAD == ONDIO_PAD | 64 | #elif CONFIG_KEYPAD == ONDIO_PAD |
65 | #define USBPOWER_BUTTON BUTTON_MENU | 65 | #define USBPOWER_BUTTON BUTTON_MENU |
66 | #define USBPOWER_BTN_IGNORE BUTTON_OFF | 66 | #define USBPOWER_BTN_IGNORE BUTTON_OFF |
67 | #else | 67 | /*allow people to define this in config-target.h if they need it*/ |
68 | #elif !defined(USBPOWER_BTN_IGNORE) | ||
68 | #define USBPOWER_BTN_IGNORE 0 | 69 | #define USBPOWER_BTN_IGNORE 0 |
69 | #endif | 70 | #endif |
70 | #endif | 71 | #endif |