forked from len0rd/rockbox
fix r25741: the 2nd delay needs to be present when the CPU is boosted
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25746 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5359d240e3
commit
bd7e71df3e
1 changed files with 2 additions and 0 deletions
|
@ -239,6 +239,8 @@ int button_read_device(void)
|
||||||
gpiod6 = GPIOD_PIN(6);
|
gpiod6 = GPIOD_PIN(6);
|
||||||
|
|
||||||
GPIOB_PIN(0) = 0;
|
GPIOB_PIN(0) = 0;
|
||||||
|
for(delay = 240; delay; delay--)
|
||||||
|
nop;
|
||||||
|
|
||||||
if (GPIOC_PIN(1) & 1<<1)
|
if (GPIOC_PIN(1) & 1<<1)
|
||||||
btn |= BUTTON_DOWN;
|
btn |= BUTTON_DOWN;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue