From b2cc77a13b8b35689a99a4c0a7eb9c5d186f8edc Mon Sep 17 00:00:00 2001 From: ladyada Date: Sat, 14 Jul 2018 23:05:47 -0400 Subject: [PATCH] woops accidentally slowed down bitbang SPI --- Adafruit_SPITFT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Adafruit_SPITFT.h b/Adafruit_SPITFT.h index 231428e..6224bb3 100644 --- a/Adafruit_SPITFT.h +++ b/Adafruit_SPITFT.h @@ -9,7 +9,6 @@ #endif #include #include "Adafruit_GFX.h" -#include "Adafruit_SPITFT_Macros.h" #define USE_FAST_PINIO @@ -25,6 +24,7 @@ typedef volatile uint32_t RwReg; #undefine USE_FAST_PINIO #endif +#include "Adafruit_SPITFT_Macros.h" /// A heavily optimized SPI display subclass of GFX. Manages SPI bitbanging, transactions, DMA, etc! Despite being called SPITFT, the classic SPI data/command interface is also used by OLEDs. class Adafruit_SPITFT : public Adafruit_GFX {