mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Merge pull request #256 from makermelissa/master
Fixing issue with 8-bit procs not working
This commit is contained in:
commit
209fa619da
@ -1780,8 +1780,7 @@ void Adafruit_SPITFT::sendCommand(uint8_t commandByte, const uint8_t *dataBytes,
|
||||
SPI_WRITE16(*(uint16_t *)dataBytes);
|
||||
dataBytes += 2;
|
||||
} else {
|
||||
spiWrite(*dataBytes); // Send the data bytes
|
||||
dataBytes++;
|
||||
spiWrite(pgm_read_byte(dataBytes++));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user