From fafe23f2e45d5ecc755f2115ddb517e831b338a4 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 12 Nov 2012 00:13:39 +0100 Subject: [PATCH] small fix --- .../MCU/.touchscreen_lld_config.h.swp | Bin 12288 -> 12288 bytes drivers/touchscreen/MCU/touchscreen_lld.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp b/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp index a899a6963679a3cf228e57acf667db82a1863be8..595c456fd2b9057efb453648640ac2b272e3f26f 100644 GIT binary patch delta 36 scmZojXh@hK!KA{rQR+PNL<3ev-p%isIc1qVIX5%11afTl*4)Yl0L8ot7ytkO delta 38 ucmZojXh@hK!L)&Oqttn3w$hR`T?@X=@0mGenLIc*GqMD7Z1&dN$_4=RC<~SV 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); }