Skip to content

Commit d69f14c

Browse files
Fix class on swapBytes()
1 parent f31c435 commit d69f14c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_SPITFT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -959,7 +959,7 @@ void Adafruit_SPITFT::writePixel(int16_t x, int16_t y, uint16_t color) {
959959
otherwise, if NULL (default) or same address is passed,
960960
pixel buffer is overwritten in-place.
961961
*/
962-
void swapBytes(uint16_t *src, uint32_t len, uint16_t *dest) {
962+
void Adafruit_SPITFT::swapBytes(uint16_t *src, uint32_t len, uint16_t *dest) {
963963
if (!dest)
964964
dest = src; // NULL -> overwrite src buffer
965965
for (uint32_t i = 0; i < len; i++) {

0 commit comments

Comments
 (0)