From 07187094904460211e4f3fa19f12911a2f208ca7 Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Tue, 12 Jun 2018 22:39:07 +0100 Subject: [PATCH] add MK66, better to detect F_CPU in future --- MCUFRIEND_kbv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MCUFRIEND_kbv.cpp b/MCUFRIEND_kbv.cpp index 23e1ce2..7aba8ef 100644 --- a/MCUFRIEND_kbv.cpp +++ b/MCUFRIEND_kbv.cpp @@ -577,7 +577,7 @@ void MCUFRIEND_kbv::fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_ while (h-- > 0) { end = w; #if USING_16BIT_BUS -#if defined(__SAM3X8E__) +#if defined(__SAM3X8E__) || defined(__MK66FX1M0__) #define STROBE_16BIT {WR_ACTIVE;WR_ACTIVE;WR_ACTIVE;WR_IDLE;WR_IDLE;} #else #define STROBE_16BIT {WR_ACTIVE; WR_IDLE;}