diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config-fmrecorder.h | 4 | ||||
-rw-r--r-- | firmware/export/config-player.h | 3 | ||||
-rw-r--r-- | firmware/export/config-recorder.h | 4 | ||||
-rw-r--r-- | firmware/export/config-recorderv2.h | 4 | ||||
-rw-r--r-- | firmware/export/powermgmt.h | 16 |
5 files changed, 24 insertions, 7 deletions
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h index bc859df67a..acc1c74dcf 100644 --- a/firmware/export/config-fmrecorder.h +++ b/firmware/export/config-fmrecorder.h | |||
@@ -88,6 +88,10 @@ | |||
88 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 88 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
89 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 89 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
90 | 90 | ||
91 | #define CURRENT_NORMAL 145 /* usual current in mA */ | ||
92 | #define CURRENT_RECORD 35 /* additional recording current */ | ||
93 | #define CURRENT_USB 500 /* usual current in mA in USB mode */ | ||
94 | |||
91 | /* Hardware controlled charging with monitoring */ | 95 | /* Hardware controlled charging with monitoring */ |
92 | #define CONFIG_CHARGING CHARGING_MONITOR | 96 | #define CONFIG_CHARGING CHARGING_MONITOR |
93 | 97 | ||
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h index 9d4696797b..5f6cf17fbe 100644 --- a/firmware/export/config-player.h +++ b/firmware/export/config-player.h | |||
@@ -49,6 +49,9 @@ | |||
49 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 49 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
50 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 50 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
51 | 51 | ||
52 | #define CURRENT_NORMAL 145 /* usual current in mA */ | ||
53 | #define CURRENT_USB 500 /* usual current in mA in USB mode */ | ||
54 | |||
52 | /* define this if the unit should not shut down on low battery. */ | 55 | /* define this if the unit should not shut down on low battery. */ |
53 | #define NO_LOW_BATTERY_SHUTDOWN | 56 | #define NO_LOW_BATTERY_SHUTDOWN |
54 | 57 | ||
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h index 44006b4196..37c2222985 100644 --- a/firmware/export/config-recorder.h +++ b/firmware/export/config-recorder.h | |||
@@ -77,6 +77,10 @@ | |||
77 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 77 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
78 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 78 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
79 | 79 | ||
80 | #define CURRENT_NORMAL 145 /* usual current in mA */ | ||
81 | #define CURRENT_RECORD 35 /* additional recording current */ | ||
82 | #define CURRENT_USB 500 /* usual current in mA in USB mode */ | ||
83 | |||
80 | /* define this if the unit should not shut down on low battery. */ | 84 | /* define this if the unit should not shut down on low battery. */ |
81 | #define NO_LOW_BATTERY_SHUTDOWN | 85 | #define NO_LOW_BATTERY_SHUTDOWN |
82 | 86 | ||
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h index 8c2bc6863f..5ca9459750 100644 --- a/firmware/export/config-recorderv2.h +++ b/firmware/export/config-recorderv2.h | |||
@@ -83,6 +83,10 @@ | |||
83 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 83 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
84 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 84 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
85 | 85 | ||
86 | #define CURRENT_NORMAL 145 /* usual current in mA */ | ||
87 | #define CURRENT_RECORD 35 /* additional recording current */ | ||
88 | #define CURRENT_USB 500 /* usual current in mA in USB mode */ | ||
89 | |||
86 | /* Hardware controlled charging with monitoring */ | 90 | /* Hardware controlled charging with monitoring */ |
87 | #define CONFIG_CHARGING CHARGING_MONITOR | 91 | #define CONFIG_CHARGING CHARGING_MONITOR |
88 | 92 | ||
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 |