LPC: Finish DMA transfer, use HW SPI class (#19191)

This commit is contained in:
Victor Oliveira
2020-09-10 02:41:26 -03:00
committed by GitHub
parent b98946b5c1
commit 160f70be63
6 changed files with 61 additions and 91 deletions

View File

@ -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();
}