Fix red/yellow

Change-Id: Ie01251af2cd843979b5fdefcfa541ba377d13bd7
This commit is contained in:
Marcin Bukat 2015-01-12 12:02:24 +01:00
parent bbd7d1dba3
commit 9ffd9327e3
12 changed files with 38 additions and 46 deletions

View file

@ -35,12 +35,12 @@ bool backlight_hw_init(void)
return (GPIO1_OUT & 0x00020000) ? false : true;
}
void _backlight_hw_on(void)
void backlight_hw_on(void)
{
and_l(~0x00020000, &GPIO1_OUT);
}
void _backlight_hw_off(void)
void backlight_hw_off(void)
{
or_l(0x00020000, &GPIO1_OUT);
}