summaryrefslogtreecommitdiff
path: root/firmware/export/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/usb.h')
-rw-r--r--firmware/export/usb.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 0c74efc9e2..d723f85b1a 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -134,14 +134,8 @@ enum
134}; 134};
135 135
136#ifdef HAVE_USB_POWER 136#ifdef HAVE_USB_POWER
137#if CONFIG_KEYPAD == RECORDER_PAD
138#define USBPOWER_BUTTON BUTTON_F1
139#define USBPOWER_BTN_IGNORE BUTTON_ON
140#elif CONFIG_KEYPAD == ONDIO_PAD
141#define USBPOWER_BUTTON BUTTON_MENU
142#define USBPOWER_BTN_IGNORE BUTTON_OFF
143/*allow people to define this in config-target.h if they need it*/ 137/*allow people to define this in config-target.h if they need it*/
144#elif !defined(USBPOWER_BTN_IGNORE) 138#if !defined(USBPOWER_BTN_IGNORE)
145#define USBPOWER_BTN_IGNORE 0 139#define USBPOWER_BTN_IGNORE 0
146#endif 140#endif
147#endif 141#endif