summaryrefslogtreecommitdiffstats
path: root/firmware/rolo.c
diff options
context:
space:
mode:
authorWilliam Wilgus <wilgus.william@gmail.com>2020-09-13 13:29:00 -0400
committerWilliam Wilgus <wilgus.william@gmail.com>2020-09-13 13:29:00 -0400
commit3c2b6809d94adcb958c135ca471a666c15fd0060 (patch)
treeacd6cb6018cf42c5a59b56c385c26a87b30503d8 /firmware/rolo.c
parentc62493e98adfd27c16eb2adb2ecd22716813b705 (diff)
downloadrockbox-3c2b6809d94adcb958c135ca471a666c15fd0060.tar.gz
rockbox-3c2b6809d94adcb958c135ca471a666c15fd0060.tar.bz2
rockbox-3c2b6809d94adcb958c135ca471a666c15fd0060.zip
Xduoo X3 no ADC after ROLO
Speachy suggested we don't shut down the adc on ROLO this fixes the random adc drop out on ROLO Change-Id: Ife7d679ce51a6f767963210ee650815f1de12223
Diffstat (limited to 'firmware/rolo.c')
-rw-r--r--firmware/rolo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/rolo.c b/firmware/rolo.c
index e60af46704..7cded0906f 100644
--- a/firmware/rolo.c
+++ b/firmware/rolo.c
@@ -286,7 +286,9 @@ int rolo_load(const char* filename)
lcd_remote_puts(0, 1, "Executing");
lcd_remote_update();
#endif
+#if (CONFIG_KEYPAD != XDUOO_X3_PAD) /* X3 adc hangs on ROLO */
adc_close();
+#endif
#if CONFIG_CPU == AS3525v2
/* Set CVDD1 power supply to default*/
ascodec_write_pmu(0x17, 1, 0);