1
0
Fork 0
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:
Rafaël Carré 2010-04-27 23:52:20 +00:00
parent 5359d240e3
commit bd7e71df3e

View file

@ -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;