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/main.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bootloader/main.c') 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); -- cgit v1.2.3