Skip to content

Commit c219790

Browse files
Similar change in writePixels()
1 parent e167179 commit c219790

File tree

7 files changed

+2035
-1
lines changed

7 files changed

+2035
-1
lines changed

Adafruit_SPITFT.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,9 @@ void Adafruit_SPITFT::writePixels(uint16_t *colors, uint32_t len) {
490490
lastFillColor = 0x0000; // pixelBuf has been sullied
491491
lastFillLen = 0;
492492
while(dma_busy); // Wait for last line to complete
493+
#ifdef __SAMD51__
494+
_spi->setDataMode(SPI_MODE0); // See note in writeColor()
495+
#endif
493496
return;
494497
}
495498
#else

0 commit comments

Comments
 (0)