1
0
Fork 0
forked from len0rd/rockbox

zenxfi3: remove obsolete comment

Change-Id: I9597461c2d48b7b7558c60efd309e5b34c661cbe
This commit is contained in:
Amaury Pouly 2013-01-15 19:04:59 +00:00
parent d6c6c0767c
commit 19ca914f27

View file

@ -176,8 +176,6 @@ int button_read_device(void)
res |= BUTTON_VOL_DOWN;
if(!(mask & 0x100))
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)
res |= BUTTON_POWER;
return res | touchpad_btns;