summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 49b9a51d40..9eb60b64a5 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -173,12 +173,12 @@ void reset_poweroff_timer(void)
173 173
174#else /* not SIMULATOR ******************************************************/ 174#else /* not SIMULATOR ******************************************************/
175 175
176static const int poweroff_idle_timeout_value[15] = 176static const unsigned char poweroff_idle_timeout_value[15] =
177{ 177{
178 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 30, 45, 60 178 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 30, 45, 60
179}; 179};
180 180
181static const unsigned int battery_level_dangerous[BATTERY_TYPES_COUNT] = 181static const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
182{ 182{
183#if CONFIG_BATTERY == BATT_LIION2200 /* FM Recorder, LiIon */ 183#if CONFIG_BATTERY == BATT_LIION2200 /* FM Recorder, LiIon */
184 280 184 280