summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2009-07-25 18:42:30 +0000
committerRob Purchase <shotofadds@rockbox.org>2009-07-25 18:42:30 +0000
commitaa97ba100aa19b893ba71dff28b5b0b5b0fc42b2 (patch)
tree4a989e63c8538e34abeff12be005167d2ba30ba1
parentccb52bd72ca5caf9c78d7895dcb11bf489308c4d (diff)
downloadrockbox-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
-rw-r--r--firmware/panic.c7
-rw-r--r--firmware/target/arm/system-arm.c7
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 @@
30#include "led.h" 30#include "led.h"
31#include "power.h" 31#include "power.h"
32#include "system.h" 32#include "system.h"
33#ifdef HAVE_BACKLIGHT
34#include "backlight-target.h"
35#endif
36 33
37static char panic_buf[128]; 34static char panic_buf[128];
38#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH) 35#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH)
@@ -82,10 +79,6 @@ void panicf( const char *fmt, ...)
82 lcd_update(); 79 lcd_update();
83 DEBUGF("%s", panic_buf); 80 DEBUGF("%s", panic_buf);
84 81
85#ifdef HAVE_BACKLIGHT
86 _backlight_on();
87#endif
88
89 set_cpu_frequency(0); 82 set_cpu_frequency(0);
90 83
91#ifdef HAVE_ATA_POWER_OFF 84#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 @@
23#include <stdio.h> 23#include <stdio.h>
24#include "lcd.h" 24#include "lcd.h"
25#include "font.h" 25#include "font.h"
26#ifdef HAVE_BACKLIGHT
27#include "backlight-target.h"
28#endif
29 26
30static const char* const uiename[] = { 27static const char* const uiename[] = {
31 "Undefined instruction", 28 "Undefined instruction",
@@ -51,10 +48,6 @@ void __attribute__((noreturn)) UIE(unsigned int pc, unsigned int num)
51 lcd_puts(0, 1, str); 48 lcd_puts(0, 1, str);
52 lcd_update(); 49 lcd_update();
53 50
54#ifdef HAVE_BACKLIGHT
55 _backlight_on();
56#endif
57
58 disable_interrupt(IRQ_FIQ_STATUS); 51 disable_interrupt(IRQ_FIQ_STATUS);
59 52
60 system_exception_wait(); /* If this returns, try to reboot */ 53 system_exception_wait(); /* If this returns, try to reboot */