diff --git a/Adafruit_SPITFT.cpp b/Adafruit_SPITFT.cpp index 8b2c1d6..51b53cc 100644 --- a/Adafruit_SPITFT.cpp +++ b/Adafruit_SPITFT.cpp @@ -302,7 +302,7 @@ void Adafruit_SPITFT::pushColor(uint16_t color) { @param len How many pixels to draw - 2 bytes per pixel! */ /**************************************************************************/ -void inline Adafruit_SPITFT::writePixels(uint16_t * colors, uint32_t len){ +void Adafruit_SPITFT::writePixels(uint16_t * colors, uint32_t len){ SPI_WRITE_PIXELS((uint8_t*)colors , len * 2); }