diff options
author | Tectu <joel@unormal.org> | 2012-08-09 03:07:07 +0200 |
---|---|---|
committer | Tectu <joel@unormal.org> | 2012-08-09 03:07:07 +0200 |
commit | 385798b21217742ae63380bfdf623e9a5b2c9c36 (patch) | |
tree | c56f3eed4a59909ffa9f6264d731456a9b590edd /halext/drivers | |
parent | 18581a40deb63aba81b9f1f6ccd7e6d9163034fd (diff) | |
download | uGFX-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.c | 2 |
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);
|