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.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 39e2e6eab9..e691e1b10b 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -76,28 +76,30 @@ extern unsigned int power_thread_inputs;
76 76
77#ifndef SIMULATOR 77#ifndef SIMULATOR
78 78
79/* Generic current values that are really rather meaningless - config header 79/* Generic current values that are intentionally meaningless - config header
80 * should define proper numbers. */ 80 * should define proper numbers. Use insane values here to remind people
81 * to define the correct values in the proper header*/
82
81#ifndef CURRENT_NORMAL 83#ifndef CURRENT_NORMAL
82#define CURRENT_NORMAL 145 /* usual current in mA */ 84#define CURRENT_NORMAL 1 /* usual current in mA */
83#endif 85#endif
84 86
85#ifndef CURRENT_BACKLIGHT 87#ifndef CURRENT_BACKLIGHT
86#define CURRENT_BACKLIGHT 30 /* additional current when backlight always on */ 88#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */
87#endif 89#endif
88 90
89#ifdef HAVE_RECORDING 91#ifdef HAVE_RECORDING
90#ifndef CURRENT_RECORD 92#ifndef CURRENT_RECORD
91#define CURRENT_RECORD 35 /* additional recording current */ 93#define CURRENT_RECORD 1 /* additional recording current */
92#endif 94#endif
93#endif /* HAVE_RECORDING */ 95#endif /* HAVE_RECORDING */
94 96
95#ifndef CURRENT_USB 97#ifndef CURRENT_USB
96#define CURRENT_USB 500 /* usual current in mA in USB mode */ 98#define CURRENT_USB 1 /* usual current in mA in USB mode */
97#endif 99#endif
98 100
99#ifdef HAVE_REMOTE_LCD 101#ifdef HAVE_REMOTE_LCD
100#define CURRENT_REMOTE 8 /* additional current when remote connected */ 102#define CURRENT_REMOTE 1 /* additional current when remote connected */
101#endif /* HAVE_REMOTE_LCD */ 103#endif /* HAVE_REMOTE_LCD */
102 104
103#if CONFIG_CHARGING 105#if CONFIG_CHARGING