Skip to content

Commit 4c87f9a

Browse files
Fix misnamed function call in nRF code
1 parent d69f14c commit 4c87f9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Adafruit_SPITFT.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,11 +1014,11 @@ void Adafruit_SPITFT::writePixels(uint16_t *colors, uint32_t len, bool block,
10141014
#elif defined(ARDUINO_NRF52_ADAFRUIT) && \
10151015
defined(NRF52840_XXAA) // Adafruit nRF52 use SPIM3 DMA at 32Mhz
10161016
if (!bigEndian) {
1017-
byteSwap(colors, len); // convert little-to-big endian for display
1017+
swapBytes(colors, len); // convert little-to-big endian for display
10181018
}
10191019
hwspi._spi->transfer(colors, NULL, 2 * len); // NULL RX to avoid overwrite
10201020
if (!bigEndian) {
1021-
byteSwap(colors, len); // big-to-little endian to restore pixel buffer
1021+
swapBytes(colors, len); // big-to-little endian to restore pixel buffer
10221022
}
10231023

10241024
return;

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit GFX Library
2-
version=1.10.8
2+
version=1.10.9
33
author=Adafruit
44
maintainer=Adafruit <[email protected]>
55
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.

0 commit comments

Comments
 (0)