From 58825f6e7391a237be85e63bee08f7a0bb66dc38 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Fri, 10 Nov 2006 18:47:41 +0000 Subject: 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 --- firmware/target/coldfire/iaudio/x5/backlight-x5.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'firmware/target/coldfire/iaudio/x5/backlight-x5.c') 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 @@ #include "cpu.h" #include "system.h" #include "backlight.h" +#include "backlight-target.h" #include "pcf50606.h" #include "lcd.h" +void __backlight_init(void) +{ + __backlight_set_brightness(DEFAULT_BRIGHTNESS_SETTING); + __backlight_on(); +} + void __backlight_on(void) { int level; -- cgit v1.2.3