summaryrefslogtreecommitdiff
path: root/firmware/export/powermgmt.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r--firmware/export/powermgmt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 41594abe4d..a78386445e 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -84,13 +84,6 @@ enum shutdown_type
84/* Start up power management thread */ 84/* Start up power management thread */
85void powermgmt_init(void) INIT_ATTR; 85void powermgmt_init(void) INIT_ATTR;
86 86
87/* Generic current values that are intentionally meaningless - config header
88 * should define proper numbers.*/
89
90#ifndef CURRENT_USB
91#define CURRENT_USB 2 /* usual current in mA in USB mode */
92#endif
93
94#if CONFIG_CHARGING && !defined(CURRENT_MAX_CHG) 87#if CONFIG_CHARGING && !defined(CURRENT_MAX_CHG)
95#define CURRENT_MAX_CHG 350 /* maximum charging current */ 88#define CURRENT_MAX_CHG 350 /* maximum charging current */
96#endif 89#endif