mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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
This commit is contained in:
parent
8537cbf091
commit
ef12b3b5c6
47 changed files with 530 additions and 358 deletions
|
@ -22,12 +22,12 @@
|
|||
#include "backlight.h"
|
||||
#include "lcd.h"
|
||||
|
||||
void __backlight_on(void)
|
||||
void _backlight_on(void)
|
||||
{
|
||||
GPIO3_SET = 1;
|
||||
}
|
||||
|
||||
void __backlight_off(void)
|
||||
void _backlight_off(void)
|
||||
{
|
||||
GPIO3_CLR = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue