summaryrefslogtreecommitdiffstats
path: root/bootloader/iriver_h300.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-11-12 18:49:53 +0000
committerJens Arnold <amiconn@rockbox.org>2007-11-12 18:49:53 +0000
commitef12b3b5c678e4fa44d60061b0c1bc312e589ba1 (patch)
tree4c2572d7bf3d995be16b33fa2e46ccccad34f4ee /bootloader/iriver_h300.c
parent8537cbf091634efa57768dccff39049afdf6d288 (diff)
downloadrockbox-ef12b3b5c678e4fa44d60061b0c1bc312e589ba1.tar.gz
rockbox-ef12b3b5c678e4fa44d60061b0c1bc312e589ba1.tar.bz2
rockbox-ef12b3b5c678e4fa44d60061b0c1bc312e589ba1.zip
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
Diffstat (limited to 'bootloader/iriver_h300.c')
-rw-r--r--bootloader/iriver_h300.c10
1 files changed, 5 insertions, 5 deletions
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();