Fix class on swapBytes()

This commit is contained in:
Phillip Burgess
2021-05-25 09:43:28 -07:00
parent f31c435d8c
commit d69f14c151
+1 -1
View File
@@ -959,7 +959,7 @@ void Adafruit_SPITFT::writePixel(int16_t x, int16_t y, uint16_t color) {
otherwise, if NULL (default) or same address is passed,
pixel buffer is overwritten in-place.
*/
void swapBytes(uint16_t *src, uint32_t len, uint16_t *dest) {
void Adafruit_SPITFT::swapBytes(uint16_t *src, uint32_t len, uint16_t *dest) {
if (!dest)
dest = src; // NULL -> overwrite src buffer
for (uint32_t i = 0; i < len; i++) {