summaryrefslogtreecommitdiff
path: root/bootloader/main.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/main.c
parent8537cbf091634efa57768dccff39049afdf6d288 (diff)
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/main.c')
-rw-r--r--bootloader/main.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bootloader/main.c b/bootloader/main.c
index e60799fa65..8d58ca71d0 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -156,9 +156,9 @@ void shutdown(void)
sleep(HZ*2);
/* Backlight OFF */
- __backlight_off();
+ _backlight_off();
#ifdef HAVE_REMOTE_LCD
- __remote_backlight_off();
+ _remote_backlight_off();
#endif
__reset_cookie();
@@ -395,12 +395,12 @@ void main(void)
}
/* Start with the main backlight OFF. */
- __backlight_init();
- __backlight_off();
+ _backlight_init();
+ _backlight_off();
/* Remote backlight ON */
#ifdef HAVE_REMOTE_LCD
- __remote_backlight_on();
+ _remote_backlight_on();
#endif
system_init();
@@ -531,7 +531,7 @@ void main(void)
sleep(HZ);
/* Backlight OFF */
- __backlight_off();
+ _backlight_off();
}
cpu_idle_mode(false);