1
0
Fork 0
forked from len0rd/rockbox

FS#10158 - e200v2 button delay revisited by Michael Chicoine to fix some weirdnesses with button reading.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20800 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-04-26 11:05:53 +00:00
parent 48db5b53c5
commit ace509a2ff

View file

@ -205,7 +205,7 @@ int button_read_device(void)
GPIOC_DIR &= ~(1<<2|1<<3|1<<4|1<<5|1<<6);
int delay = 2; /* small delay needed to read buttons correctly */
int delay = 8; /* small delay needed to read buttons correctly */
while(delay--);
/* direct GPIO connections */