LPC: Finish DMA transfer, use HW SPI class (#19191)
This commit is contained in:
@ -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