From 2798aee127a463796768960c4f5384c939ea75f2 Mon Sep 17 00:00:00 2001 From: Melissa LeBlanc-Williams Date: Wed, 12 Feb 2020 08:37:10 -0800 Subject: [PATCH] Removed duplicate spiWrite to fix bbSPI --- Adafruit_SPITFT.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Adafruit_SPITFT.cpp b/Adafruit_SPITFT.cpp index 0e5d827..04a6167 100644 --- a/Adafruit_SPITFT.cpp +++ b/Adafruit_SPITFT.cpp @@ -1846,8 +1846,6 @@ void Adafruit_SPITFT::sendCommand(uint8_t commandByte, uint8_t *dataBytes, SPI_DC_HIGH(); for (int i = 0; i < numDataBytes; i++) { - spiWrite(*dataBytes); // Send the data bytes - dataBytes++; if ((connection == TFT_PARALLEL) && tft8.wide) { SPI_WRITE16(*(uint16_t *)dataBytes); dataBytes += 2;