From 69ee74079c2459123d422545acbd115fb54e2847 Mon Sep 17 00:00:00 2001 From: Jorj Bauer Date: Tue, 18 Jan 2022 08:01:33 -0500 Subject: [PATCH] _cs, not _rst --- teensy/RA8875_t4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teensy/RA8875_t4.h b/teensy/RA8875_t4.h index e569f52..9e4c239 100644 --- a/teensy/RA8875_t4.h +++ b/teensy/RA8875_t4.h @@ -81,12 +81,12 @@ protected: _pspi->beginTransaction(SPISettings(_clock, MSBFIRST, SPI_MODE3)); /* _spi_tcr_current = _pimxrt_spi->TCR; -- do we need this? related to the _dc line... */ // DIRECT_WRITE_LOW(_csport, _cspinmask); - digitalWrite(_rst, LOW); + digitalWrite(_cs, LOW); } void _endSend() __attribute__((always_inline)) { // DIRECT_WRITE_HIGH(_csport, _cspinmask); - digitalWrite(_rst, HIGH); + digitalWrite(_cs, HIGH); _pspi->endTransaction(); }