aboutsummaryrefslogtreecommitdiffstats
path: root/halext/drivers
diff options
context:
space:
mode:
authorTectu <joel@unormal.org>2012-08-09 03:07:07 +0200
committerTectu <joel@unormal.org>2012-08-09 03:07:07 +0200
commit385798b21217742ae63380bfdf623e9a5b2c9c36 (patch)
treec56f3eed4a59909ffa9f6264d731456a9b590edd /halext/drivers
parent18581a40deb63aba81b9f1f6ccd7e6d9163034fd (diff)
downloaduGFX-385798b21217742ae63380bfdf623e9a5b2c9c36.tar.gz
uGFX-385798b21217742ae63380bfdf623e9a5b2c9c36.tar.bz2
uGFX-385798b21217742ae63380bfdf623e9a5b2c9c36.zip
touchpad fix
Diffstat (limited to 'halext/drivers')
-rw-r--r--halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
index a42f1bf8..4d02be69 100644
--- a/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
+++ b/halext/drivers/touchpad/touchpadXPT2046/touchpad_lld.c
@@ -99,7 +99,7 @@ uint16_t tp_lld_read_x(void) {
uint8_t rxbuf[2];
uint16_t y;
- txbuf[0] = 0x90;
+ txbuf[0] = 0xd0;
TP_CS_LOW;
spiSend(&SPID1, 1, txbuf);
spiReceive(&SPID1, 2, rxbuf);