From ade047f9979eb3d079ec72300295a0ac806bb6de Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Wed, 8 Feb 2017 21:04:32 +0000 Subject: [PATCH] add pushColors(data, len, first) method --- TFT_HX8357GLUE.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/TFT_HX8357GLUE.h b/TFT_HX8357GLUE.h index c2f9562..f8da3d4 100644 --- a/TFT_HX8357GLUE.h +++ b/TFT_HX8357GLUE.h @@ -86,6 +86,11 @@ class TFT_HX8357GLUE : public MCUFRIEND_kbv _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) { uint16_t c = color;