1
0
Fork 0
forked from len0rd/rockbox

Save a few bytes and make types more consistent

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14301 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nils Wallménius 2007-08-12 20:22:08 +00:00
parent f73d346ba4
commit f14a492c6b

View file

@ -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