From ef12b3b5c678e4fa44d60061b0c1bc312e589ba1 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 12 Nov 2007 18:49:53 +0000 Subject: Hardware controlled backlight brightness for iPod Video and Nano, retaining the software PWM fade in/ fade out. * Backlight handling cleanup, getting rid of one layer of 'lowlevelness'. * Use atomic GPIO bit manipulation for PP502x backlight handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15599 a1c6a512-1295-4272-9138-f99709370657 --- bootloader/iriver_h300.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bootloader/iriver_h300.c') diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c index a3a15bd4b5..5b742044eb 100644 --- a/bootloader/iriver_h300.c +++ b/bootloader/iriver_h300.c @@ -100,8 +100,8 @@ void shutdown(void) sleep(HZ*2); - __backlight_off(); - __remote_backlight_off(); + _backlight_off(); + _remote_backlight_off(); __reset_cookie(); power_off(); @@ -177,10 +177,10 @@ void main(void) audiohw_reset(); /* Start with the main backlight OFF. */ - __backlight_init(); - __backlight_off(); + _backlight_init(); + _backlight_off(); - __remote_backlight_on(); + _remote_backlight_on(); system_init(); kernel_init(); -- cgit