clipv2: make buttonlight functions static inline one-liners

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26323 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2010-05-27 11:09:12 +00:00
parent 3cb30cb513
commit 065ef89479
2 changed files with 18 additions and 15 deletions

View file

@ -35,15 +35,3 @@ void _backlight_off(void)
lcd_enable(false);
ascodec_write_pmu(AS3543_BACKLIGHT, 1, 0x0);
}
void _buttonlight_on(void)
{
GPIOA_DIR |= (1<<5);
GPIOA_PIN(5) = (1<<5); /* set pin a5 high */
}
void _buttonlight_off(void)
{
GPIOA_DIR |= (1<<5);
GPIOA_PIN(5) = 0; /* set pin a5 low */
}