From 85a226d4e7dfcb4d5fe63dd1292bb667fa147cb0 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 16 Mar 2007 23:02:39 +0000 Subject: Rename some macros to account for the recently added M5 port. No code changes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/powermgmt.c') diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index bbb98144fb..eced1a21a6 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -192,7 +192,7 @@ static const unsigned int battery_level_dangerous[BATTERY_TYPES_COUNT] = 338 #elif CONFIG_BATTERY == BATT_LIION830 /* Gigabeat F */ 345 -#elif CONFIG_BATTERY == BATT_IAUDIO_X5 /* iAudio X5 */ +#elif CONFIG_BATTERY == BATT_IAUDIO_X5M5 /* iAudio X5 */ 354 #elif CONFIG_BATTERY == BATT_LPCS355385 /* iriver H10 20GB: LiPolymer*/ 376 @@ -213,7 +213,7 @@ static const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 302 #elif CONFIG_BATTERY == BATT_LIION830 /* Gigabeat F */ 340 -#elif CONFIG_BATTERY == BATT_IAUDIO_X5 /* iAudio X5 */ +#elif CONFIG_BATTERY == BATT_IAUDIO_X5M5 /* iAudio X5 */ 350 #elif CONFIG_BATTERY == BATT_LPCS355385 /* iriver H10 20GB */ 365 @@ -237,7 +237,7 @@ static const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = #elif CONFIG_BATTERY == BATT_LIPOL1300 /* Below 337 the backlight starts flickering during HD access */ { 337, 365, 370, 374, 378, 382, 387, 393, 400, 408, 416 } -#elif CONFIG_BATTERY == BATT_IAUDIO_X5 +#elif CONFIG_BATTERY == BATT_IAUDIO_X5M5 /* iAudio x5 series - still experimenting with best curve */ // Lithium ion discharge curve { 355, 356, 357, 359, 362, 365, 369, 374, 380, 387, 395 } -- cgit v1.2.3