diff options
| author | Nils Wallménius <nils@rockbox.org> | 2007-08-12 20:22:08 +0000 |
|---|---|---|
| committer | Nils Wallménius <nils@rockbox.org> | 2007-08-12 20:22:08 +0000 |
| commit | f14a492c6bc03bca642718b5f20e835dd5ba32b0 (patch) | |
| tree | eeece6bef28b5529350504bbe277ad970069437d | |
| parent | f73d346ba41c5deb3d877da6c6d20795752c3565 (diff) | |
| download | rockbox-f14a492c6bc03bca642718b5f20e835dd5ba32b0.zip rockbox-f14a492c6bc03bca642718b5f20e835dd5ba32b0.tar.gz rockbox-f14a492c6bc03bca642718b5f20e835dd5ba32b0.tar.bz2 rockbox-f14a492c6bc03bca642718b5f20e835dd5ba32b0.tar.xz | |
Save a few bytes and make types more consistent
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14301 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/powermgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 49b9a51..9eb60b6 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -173,12 +173,12 @@ void reset_poweroff_timer(void) #else /* not SIMULATOR ******************************************************/ -static const int poweroff_idle_timeout_value[15] = +static const unsigned char poweroff_idle_timeout_value[15] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 30, 45, 60 }; -static const unsigned int battery_level_dangerous[BATTERY_TYPES_COUNT] = +static const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = { #if CONFIG_BATTERY == BATT_LIION2200 /* FM Recorder, LiIon */ 280 |