forked from len0rd/rockbox
zenxfi3: remove obsolete comment
Change-Id: I9597461c2d48b7b7558c60efd309e5b34c661cbe
This commit is contained in:
parent
d6c6c0767c
commit
19ca914f27
1 changed files with 0 additions and 2 deletions
|
@ -176,8 +176,6 @@ int button_read_device(void)
|
||||||
res |= BUTTON_VOL_DOWN;
|
res |= BUTTON_VOL_DOWN;
|
||||||
if(!(mask & 0x100))
|
if(!(mask & 0x100))
|
||||||
res |= BUTTON_VOL_UP;
|
res |= BUTTON_VOL_UP;
|
||||||
/* WARNING: it seems that the voltage on PSWITCH depends on whether
|
|
||||||
* usb is connected or not ! Thus the value of this field can be 1 or 3 */
|
|
||||||
if(__XTRACT(HW_POWER_STS, PSWITCH) != 0 && power_ignore_counter == 0)
|
if(__XTRACT(HW_POWER_STS, PSWITCH) != 0 && power_ignore_counter == 0)
|
||||||
res |= BUTTON_POWER;
|
res |= BUTTON_POWER;
|
||||||
return res | touchpad_btns;
|
return res | touchpad_btns;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue