diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2009-07-25 18:42:30 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2009-07-25 18:42:30 +0000 |
commit | aa97ba100aa19b893ba71dff28b5b0b5b0fc42b2 (patch) | |
tree | 4a989e63c8538e34abeff12be005167d2ba30ba1 /firmware | |
parent | ccb52bd72ca5caf9c78d7895dcb11bf489308c4d (diff) | |
download | rockbox-aa97ba100aa19b893ba71dff28b5b0b5b0fc42b2.tar.gz rockbox-aa97ba100aa19b893ba71dff28b5b0b5b0fc42b2.zip |
Revert r22034 since the backlight handling functions are not consistently named between targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22035 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/panic.c | 7 | ||||
-rw-r--r-- | firmware/target/arm/system-arm.c | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/firmware/panic.c b/firmware/panic.c index 66b9e4d7eb..0790835ac5 100644 --- a/firmware/panic.c +++ b/firmware/panic.c @@ -30,9 +30,6 @@ #include "led.h" #include "power.h" #include "system.h" -#ifdef HAVE_BACKLIGHT -#include "backlight-target.h" -#endif static char panic_buf[128]; #define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) @@ -82,10 +79,6 @@ void panicf( const char *fmt, ...) lcd_update(); DEBUGF("%s", panic_buf); -#ifdef HAVE_BACKLIGHT - _backlight_on(); -#endif - set_cpu_frequency(0); #ifdef HAVE_ATA_POWER_OFF diff --git a/firmware/target/arm/system-arm.c b/firmware/target/arm/system-arm.c index 7d38b17979..5c5a18c867 100644 --- a/firmware/target/arm/system-arm.c +++ b/firmware/target/arm/system-arm.c @@ -23,9 +23,6 @@ #include <stdio.h> #include "lcd.h" #include "font.h" -#ifdef HAVE_BACKLIGHT -#include "backlight-target.h" -#endif static const char* const uiename[] = { "Undefined instruction", @@ -51,10 +48,6 @@ void __attribute__((noreturn)) UIE(unsigned int pc, unsigned int num) lcd_puts(0, 1, str); lcd_update(); -#ifdef HAVE_BACKLIGHT - _backlight_on(); -#endif - disable_interrupt(IRQ_FIQ_STATUS); system_exception_wait(); /* If this returns, try to reboot */ |