Skip to content

Commit cb471e3

Browse files
authored
Merge pull request #272 from makermelissa/master
Removed duplicate spiWrite to fix bbSPI
2 parents 7fd0c5e + 2798aee commit cb471e3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Adafruit_SPITFT.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,8 +1846,6 @@ void Adafruit_SPITFT::sendCommand(uint8_t commandByte, uint8_t *dataBytes,
18461846

18471847
SPI_DC_HIGH();
18481848
for (int i = 0; i < numDataBytes; i++) {
1849-
spiWrite(*dataBytes); // Send the data bytes
1850-
dataBytes++;
18511849
if ((connection == TFT_PARALLEL) && tft8.wide) {
18521850
SPI_WRITE16(*(uint16_t *)dataBytes);
18531851
dataBytes += 2;

0 commit comments

Comments
 (0)