fix a problem with fillRect and 8bit CPU

Affected also font rendering
This commit is contained in:
sumotoy 2015-06-14 17:13:03 +02:00
parent 619e9b7d55
commit 21e61953a3

View file

@ -905,6 +905,8 @@ void TFT_ILI9163C::fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t
} }
#if defined(__MK20DX128__) || defined(__MK20DX256__) #if defined(__MK20DX128__) || defined(__MK20DX256__)
writedata16_last(color); writedata16_last(color);
#else
writedata16(color);
#endif #endif
} }
#if defined(SPI_HAS_TRANSACTION) #if defined(SPI_HAS_TRANSACTION)