forked from len0rd/rockbox
Coldfire targets: Got the rest of the coldfire code out of backlight.c. Straightened up related items in configs and split backlight_set_brightness between the normal and boot/sim builds like the other functions. Should really have done all that in the first place.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11502 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f669797d07
commit
58825f6e73
12 changed files with 99 additions and 86 deletions
|
|
@ -33,9 +33,6 @@
|
|||
#include "font.h"
|
||||
#include "adc.h"
|
||||
#include "backlight.h"
|
||||
#ifdef IAUDIO_X5
|
||||
#include "backlight-target.h"
|
||||
#endif
|
||||
#include "button.h"
|
||||
#include "panic.h"
|
||||
#include "power.h"
|
||||
|
|
@ -208,7 +205,7 @@ void main(void)
|
|||
|
||||
set_irq_level(0);
|
||||
lcd_init();
|
||||
__backlight_on();
|
||||
backlight_init();
|
||||
font_init();
|
||||
adc_init();
|
||||
button_init();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue