summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
index 5c9fa91771..f2e0bb20bc 100644
--- a/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
+++ b/firmware/target/arm/imx233/creative-zenxfi3/button-zenxfi3.c
@@ -176,8 +176,6 @@ int button_read_device(void)
176 res |= BUTTON_VOL_DOWN; 176 res |= BUTTON_VOL_DOWN;
177 if(!(mask & 0x100)) 177 if(!(mask & 0x100))
178 res |= BUTTON_VOL_UP; 178 res |= BUTTON_VOL_UP;
179 /* WARNING: it seems that the voltage on PSWITCH depends on whether
180 * usb is connected or not ! Thus the value of this field can be 1 or 3 */
181 if(__XTRACT(HW_POWER_STS, PSWITCH) != 0 && power_ignore_counter == 0) 179 if(__XTRACT(HW_POWER_STS, PSWITCH) != 0 && power_ignore_counter == 0)
182 res |= BUTTON_POWER; 180 res |= BUTTON_POWER;
183 return res | touchpad_btns; 181 return res | touchpad_btns;