diff --git a/Adafruit_SPITFT.cpp b/Adafruit_SPITFT.cpp index 46a54368..ba67e0c4 100644 --- a/Adafruit_SPITFT.cpp +++ b/Adafruit_SPITFT.cpp @@ -1014,11 +1014,11 @@ void Adafruit_SPITFT::writePixels(uint16_t *colors, uint32_t len, bool block, #elif defined(ARDUINO_NRF52_ADAFRUIT) && \ defined(NRF52840_XXAA) // Adafruit nRF52 use SPIM3 DMA at 32Mhz if (!bigEndian) { - byteSwap(colors, len); // convert little-to-big endian for display + swapBytes(colors, len); // convert little-to-big endian for display } hwspi._spi->transfer(colors, NULL, 2 * len); // NULL RX to avoid overwrite if (!bigEndian) { - byteSwap(colors, len); // big-to-little endian to restore pixel buffer + swapBytes(colors, len); // big-to-little endian to restore pixel buffer } return; diff --git a/library.properties b/library.properties index 3fd59c3e..40639e3c 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit GFX Library -version=1.10.8 +version=1.10.9 author=Adafruit maintainer=Adafruit sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.