Skip to content

Commit

Permalink
Merge pull request #272 from makermelissa/master
Browse files Browse the repository at this point in the history
Removed duplicate spiWrite to fix bbSPI
  • Loading branch information
makermelissa authored Feb 12, 2020
2 parents 7fd0c5e + 2798aee commit cb471e3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Adafruit_SPITFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cb471e3

Please sign in to comment.