1
0
Fork 0
forked from len0rd/rockbox

Fix bug introduced with r28800 (missing interrupt handler).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28806 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-12-12 11:41:50 +00:00
parent 675f01ae0b
commit 951a519dc4

View file

@ -335,7 +335,7 @@ bool headphones_inserted(void)
return (GPIOA_INPUT_VAL & 0x80)?true:false;
}
#else
void INT_WHEEL(void)
void INT_SPI(void)
{
int clickwheel_events = WHEELINT;
@ -380,16 +380,22 @@ void button_init_device(void)
bool button_hold(void)
{
#if CONFIG_CPU==S5L8701
return ((PDAT14 & (1 << 6)) == 0);
#elif CONFIG_CPU==S5L8702
//TODO: Implement
//return ((PDAT14 & (1 << 6)) == 0);
return false;
#endif
}
bool headphones_inserted(void)
{
#if CONFIG_CPU==S5L8701
return ((PDAT14 & (1 << 5)) == 0);
#elif CONFIG_CPU==S5L8702
//TODO: Implement
//return ((PDAT14 & (1 << 5)) == 0);
return false;
#endif
}
#endif