summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/touchscreen-imx233.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx233/touchscreen-imx233.c')
-rw-r--r--firmware/target/arm/imx233/touchscreen-imx233.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx233/touchscreen-imx233.c b/firmware/target/arm/imx233/touchscreen-imx233.c
index 4f35110df7..e76d7a49e3 100644
--- a/firmware/target/arm/imx233/touchscreen-imx233.c
+++ b/firmware/target/arm/imx233/touchscreen-imx233.c
@@ -167,7 +167,7 @@ static void touch_channel_irq(int chan)
167 167
168void imx233_touchscreen_init(void) 168void imx233_touchscreen_init(void)
169{ 169{
170 touch_chan = imx233_lradc_acquire_channel(TIMEOUT_NOBLOCK); 170 touch_chan = imx233_lradc_acquire_channel(LRADC_SRC_XPLUS, TIMEOUT_NOBLOCK);
171 touch_delay = imx233_lradc_acquire_delay(TIMEOUT_NOBLOCK); 171 touch_delay = imx233_lradc_acquire_delay(TIMEOUT_NOBLOCK);
172 if(touch_chan < 0 || touch_delay < 0) 172 if(touch_chan < 0 || touch_delay < 0)
173 panicf("Cannot acquire channel and delays for touchscreen measurement"); 173 panicf("Cannot acquire channel and delays for touchscreen measurement");