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:
parent
48db5b53c5
commit
ace509a2ff
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue