Fix more red. Two had been hiding.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29274 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
42c0c9a619
commit
6f9d2ad130
1 changed files with 2 additions and 2 deletions
|
@ -389,8 +389,8 @@ bool button_hold(void)
|
||||||
#if CONFIG_CPU==S5L8701
|
#if CONFIG_CPU==S5L8701
|
||||||
bool value = (PDAT14 & (1 << 6)) == 0;
|
bool value = (PDAT14 & (1 << 6)) == 0;
|
||||||
if (value)
|
if (value)
|
||||||
PCON15 = (PCONF & ~0xffff0000) | 0x11110000;
|
PCON15 = (PCON15 & ~0xffff0000) | 0x11110000;
|
||||||
else PCON15 = (PCONF & ~0xffff0000) | 0x22220000;
|
else PCON15 = (PCON15 & ~0xffff0000) | 0x22220000;
|
||||||
return value;
|
return value;
|
||||||
#elif CONFIG_CPU==S5L8702
|
#elif CONFIG_CPU==S5L8702
|
||||||
if (USEC_TIMER - holdswitch_last_read > 100000)
|
if (USEC_TIMER - holdswitch_last_read > 100000)
|
||||||
|
|
Loading…
Reference in a new issue