summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/x5/backlight-x5.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
committerMichael Sevakis <jethead71@rockbox.org>2006-11-10 18:47:41 +0000
commit58825f6e7391a237be85e63bee08f7a0bb66dc38 (patch)
tree1324b528137ce35623eb3332f32d422331f80777 /firmware/target/coldfire/iaudio/x5/backlight-x5.c
parentf669797d077d081078407dd6dabf4e7389acf68f (diff)
downloadrockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.tar.gz
rockbox-58825f6e7391a237be85e63bee08f7a0bb66dc38.zip
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
Diffstat (limited to 'firmware/target/coldfire/iaudio/x5/backlight-x5.c')
-rwxr-xr-xfirmware/target/coldfire/iaudio/x5/backlight-x5.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/coldfire/iaudio/x5/backlight-x5.c b/firmware/target/coldfire/iaudio/x5/backlight-x5.c
index 9d02c35988..9b50993d90 100755
--- a/firmware/target/coldfire/iaudio/x5/backlight-x5.c
+++ b/firmware/target/coldfire/iaudio/x5/backlight-x5.c
@@ -20,9 +20,16 @@
20#include "cpu.h" 20#include "cpu.h"
21#include "system.h" 21#include "system.h"
22#include "backlight.h" 22#include "backlight.h"
23#include "backlight-target.h"
23#include "pcf50606.h" 24#include "pcf50606.h"
24#include "lcd.h" 25#include "lcd.h"
25 26
27void __backlight_init(void)
28{
29 __backlight_set_brightness(DEFAULT_BRIGHTNESS_SETTING);
30 __backlight_on();
31}
32
26void __backlight_on(void) 33void __backlight_on(void)
27{ 34{
28 int level; 35 int level;