add pushColors(data, len, first) method

This commit is contained in:
prenticedavid
2017-02-08 21:04:32 +00:00
parent 93df9b473b
commit ade047f997

View File

@@ -86,6 +86,11 @@ class TFT_HX8357GLUE : public MCUFRIEND_kbv
_first = false; _first = false;
} }
void pushColors(uint16_t *data, uint16_t len, int first)
{
MCUFRIEND_kbv::pushColors((uint16_t*)data, len, first);
}
void pushColor(uint16_t color) void pushColor(uint16_t color)
{ {
uint16_t c = color; uint16_t c = color;