From 74bd14fa72e15be3b480d619c7b8ae60b7ab21b0 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Tue, 16 Mar 2010 16:03:48 +0000 Subject: Remove some old archos code that caused runtime estimation to be off on AMS players while not actually working on Archos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25220 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/powermgmt.c') diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 74564bd1a2..f8c3995e1a 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -371,12 +371,7 @@ static int runcurrent(void) { int current; -#if MEM == 8 && !(defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM)) - /* assuming 192 kbps, the running time is 22% longer with 8MB */ - current = CURRENT_NORMAL*100 / 122; -#else current = CURRENT_NORMAL; -#endif /* MEM == 8 */ #ifndef BOOTLOADER if (usb_inserted() -- cgit v1.2.3