diff options
author | Joel Bodenmann <joel@unormal.org> | 2012-11-12 00:13:39 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@unormal.org> | 2012-11-12 00:13:39 +0100 |
commit | fafe23f2e45d5ecc755f2115ddb517e831b338a4 (patch) | |
tree | f7832512324498fabaad78134fee4893b6dac7cb /drivers | |
parent | 5683a9058ea098f4f5c4183376879ad51b782b45 (diff) | |
download | uGFX-fafe23f2e45d5ecc755f2115ddb517e831b338a4.tar.gz uGFX-fafe23f2e45d5ecc755f2115ddb517e831b338a4.tar.bz2 uGFX-fafe23f2e45d5ecc755f2115ddb517e831b338a4.zip |
small fix
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp | bin | 12288 -> 12288 bytes | |||
-rw-r--r-- | drivers/touchscreen/MCU/touchscreen_lld.c | 2 |
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 Binary files differindex a899a696..595c456f 100644 --- a/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp +++ b/drivers/touchscreen/MCU/.touchscreen_lld_config.h.swp 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);
}
|