summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/powermgmt.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index c5b137cab4..deeed06bd4 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -88,21 +88,17 @@ extern unsigned int power_thread_inputs;
88#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */ 88#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */
89#endif 89#endif
90 90
91#ifdef HAVE_RECORDING 91#if defined(HAVE_RECORDING) && !defined(CURRENT_RECORD)
92#ifndef CURRENT_RECORD
93#define CURRENT_RECORD 1 /* additional recording current */ 92#define CURRENT_RECORD 1 /* additional recording current */
94#endif 93#endif /* HAVE_RECORDING && !CURRENT_RECORD*/
95#endif /* HAVE_RECORDING */
96 94
97#ifndef CURRENT_USB 95#ifndef CURRENT_USB
98#define CURRENT_USB 1 /* usual current in mA in USB mode */ 96#define CURRENT_USB 1 /* usual current in mA in USB mode */
99#endif 97#endif
100 98
101#ifdef HAVE_REMOTE_LCD 99#if defined(HAVE_REMOTE_LCD) && !defined(CURRENT_REMOTE)
102#ifndef CURRENT_REMOTE
103#define CURRENT_REMOTE 1 /* additional current when remote connected */ 100#define CURRENT_REMOTE 1 /* additional current when remote connected */
104#endif /* CURRENT_REMOTE */ 101#endif /* CURRENT_REMOTE && !HAVE_REMOTE_LCD */
105#endif /* HAVE_REMOTE_LCD */
106 102
107#if CONFIG_CHARGING 103#if CONFIG_CHARGING
108#ifndef CURRENT_MAX_CHG 104#ifndef CURRENT_MAX_CHG