LPC: Finish DMA transfer, use HW SPI class (#19191)
This commit is contained in:
1 parent
b98946b5c1
commit
160f70be63
6 files changed
+61
-91
No files matched your search
@@ -72,7 +72,6 @@ bool XPT2046::getRawPoint(int16_t *x, int16_t *y) {
|
||||
if (!isTouched()) return false;
|
||||
*x = getRawData(XPT2046_X);
|
||||
*y = getRawData(XPT2046_Y);
|
||||
SERIAL_ECHOLNPAIR("X: ", *x, ", Y: ", *y);
|
||||
return isTouched();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user