mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
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
This commit is contained in:
parent
ccb52bd72c
commit
aa97ba100a
2 changed files with 0 additions and 14 deletions
|
|
@ -30,9 +30,6 @@
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
#include "power.h"
|
#include "power.h"
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#ifdef HAVE_BACKLIGHT
|
|
||||||
#include "backlight-target.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static char panic_buf[128];
|
static char panic_buf[128];
|
||||||
#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH)
|
#define LINECHARS (LCD_WIDTH/SYSFONT_WIDTH)
|
||||||
|
|
@ -82,10 +79,6 @@ void panicf( const char *fmt, ...)
|
||||||
lcd_update();
|
lcd_update();
|
||||||
DEBUGF("%s", panic_buf);
|
DEBUGF("%s", panic_buf);
|
||||||
|
|
||||||
#ifdef HAVE_BACKLIGHT
|
|
||||||
_backlight_on();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
set_cpu_frequency(0);
|
set_cpu_frequency(0);
|
||||||
|
|
||||||
#ifdef HAVE_ATA_POWER_OFF
|
#ifdef HAVE_ATA_POWER_OFF
|
||||||
|
|
|
||||||
|
|
@ -23,9 +23,6 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include "lcd.h"
|
#include "lcd.h"
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
#ifdef HAVE_BACKLIGHT
|
|
||||||
#include "backlight-target.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const char* const uiename[] = {
|
static const char* const uiename[] = {
|
||||||
"Undefined instruction",
|
"Undefined instruction",
|
||||||
|
|
@ -51,10 +48,6 @@ void __attribute__((noreturn)) UIE(unsigned int pc, unsigned int num)
|
||||||
lcd_puts(0, 1, str);
|
lcd_puts(0, 1, str);
|
||||||
lcd_update();
|
lcd_update();
|
||||||
|
|
||||||
#ifdef HAVE_BACKLIGHT
|
|
||||||
_backlight_on();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
disable_interrupt(IRQ_FIQ_STATUS);
|
disable_interrupt(IRQ_FIQ_STATUS);
|
||||||
|
|
||||||
system_exception_wait(); /* If this returns, try to reboot */
|
system_exception_wait(); /* If this returns, try to reboot */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue