summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config-cowond2.h3
-rw-r--r--firmware/export/usb.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config-cowond2.h b/firmware/export/config-cowond2.h
index 4341575218..45bf90bbd0 100644
--- a/firmware/export/config-cowond2.h
+++ b/firmware/export/config-cowond2.h
@@ -142,6 +142,9 @@
142/* Hardware controlled charging */ 142/* Hardware controlled charging */
143#define CONFIG_CHARGING CHARGING_SIMPLE 143#define CONFIG_CHARGING CHARGING_SIMPLE
144 144
145/* Define this if the unit can be powered or charged via USB */
146#define HAVE_USB_POWER
147
145/* Define current usage levels. */ 148/* Define current usage levels. */
146#define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */ 149#define CURRENT_NORMAL 88 /* 18 hours from a 1600 mAh battery */
147#define CURRENT_BACKLIGHT 30 /* TBD */ 150#define CURRENT_BACKLIGHT 30 /* TBD */
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 2707541bff..911fa931d9 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -89,6 +89,9 @@ enum {
89#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD 89#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
90#define USBPOWER_BUTTON BUTTON_RIGHT 90#define USBPOWER_BUTTON BUTTON_RIGHT
91#define USBPOWER_BTN_IGNORE BUTTON_LEFT 91#define USBPOWER_BTN_IGNORE BUTTON_LEFT
92#elif CONFIG_KEYPAD == COWOND2_PAD
93#define USBPOWER_BUTTON BUTTON_MENU
94#define USBPOWER_BTN_IGNORE BUTTON_MINUS
92#endif 95#endif
93#endif /* HAVE_USB_POWER */ 96#endif /* HAVE_USB_POWER */
94 97