aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/touchscreen/MCU/.touchscreen_lld_config.h.swpbin12288 -> 12288 bytes
-rw-r--r--drivers/touchscreen/MCU/touchscreen_lld.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp b/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp
index a899a696..595c456f 100644
--- a/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp
+++ b/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp
Binary files differ
diff --git a/drivers/touchscreen/MCU/touchscreen_lld.c b/drivers/touchscreen/MCU/touchscreen_lld.c
index 25a2398b..46db4fa0 100644
--- a/drivers/touchscreen/MCU/touchscreen_lld.c
+++ b/drivers/touchscreen/MCU/touchscreen_lld.c
@@ -56,7 +56,7 @@ void ts_lld_init(const TouchscreenDriver *ts) {
/* set pins to analog input */
palSetPadMode(ts->ts_yd_port, ts->ts_yd_pin, PAL_MODE_INPUT_ANALOG);
palSetPadMode(ts->ts_yu_port, ts->ts_yu_pin, PAL_MODE_INPUT_ANALOG);
- palSetPadMode(ts->ts_xl_port, ts->ts_yl_pin, PAL_MODE_INPUT_ANALOG);
+ palSetPadMode(ts->ts_xl_port, ts->ts_xl_pin, PAL_MODE_INPUT_ANALOG);
palSetPadMode(ts->ts_xr_port, ts->ts_xr_pin, PAL_MODE_INPUT_ANALOG);
}