diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 37715abcdd..ede0a508cb 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -209,7 +209,7 @@ int voltage_to_percent(int voltage, const short* table) | |||
209 | void battery_level_update(void) | 209 | void battery_level_update(void) |
210 | { | 210 | { |
211 | int level = 0; | 211 | int level = 0; |
212 | int c = 0; | 212 | unsigned short c = 0; |
213 | int i; | 213 | int i; |
214 | #if BATTERY_TYPES_COUNT == 1 /* single type */ | 214 | #if BATTERY_TYPES_COUNT == 1 /* single type */ |
215 | const int battery_type = 0; | 215 | const int battery_type = 0; |