From fafe23f2e45d5ecc755f2115ddb517e831b338a4 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 12 Nov 2012 00:13:39 +0100 Subject: small fix --- .../touchscreen/MCU/.touchscreen_lld_config.h.swp | Bin 12288 -> 12288 bytes drivers/touchscreen/MCU/touchscreen_lld.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp b/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp index a899a696..595c456f 100644 Binary files a/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp and b/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp 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); } -- cgit v1.2.3