summaryrefslogtreecommitdiffstats
path: root/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c b/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
index 9e0ca1f077..c2ead85fb4 100644
--- a/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
+++ b/firmware/target/mips/ingenic_jz47xx/xduoo_x3/sadc-xduoo_x3.c
@@ -282,7 +282,10 @@ void SADC(void)
if (!__gpio_get_pin(PIN_KEY_INT)) /* key(s) are down kick off another read */
{
+#ifdef ENABLE_BUTTON_COMBOS
+ /* setting bit high removes BOP from ADC circuit*/
__gpio_set_pin(PIN_KEY_BOP);
+#endif
REG_SADC_ADENA = ADENA_AUXEN;
}
#ifdef ENABLE_BUTTON_COMBOS