1
0
Fork 0
forked from len0rd/rockbox

e200: Finally use GPIO IRQs for the buttons...it's IRQ enable bit 33 afterall and verified independently. There shouldn't now be a need to add tick tasks to monitor GPIO level status in other code.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13538 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2007-06-03 14:31:42 +00:00
parent 20a8a9a3c8
commit 5c32faad43
3 changed files with 27 additions and 34 deletions

View file

@ -20,11 +20,11 @@
****************************************************************************/
/* We believe is this quite similar to the 5020 and for how we just use that
completely */
completely and redifine any minor differences */
#include "pp5020.h"
#undef GPIO_IRQ
#define GPIO_IRQ (32+6)
#define GPIO_IRQ (32+1)
#undef GPIO_MASK
#define GPIO_MASK (1 << (GPIO_IRQ-32))