From ff8129f8d67f8ecaa4fbde1cc1b6065a03b766e4 Mon Sep 17 00:00:00 2001 From: ladyada Date: Sun, 12 Aug 2018 15:45:35 -0400 Subject: [PATCH] compilers dont like this --- Adafruit_SPITFT.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }