Unverified Commit 8146ac30 authored by Bodmer's avatar Bodmer Committed by GitHub

Move include for User_Setup_Select.h (#537)

Requested change in #537
parent c8530d7a
...@@ -21,9 +21,6 @@ ...@@ -21,9 +21,6 @@
/*************************************************************************************** /***************************************************************************************
** Section 1: Load required header files ** Section 1: Load required header files
***************************************************************************************/ ***************************************************************************************/
// Include header file that defines the fonts loaded, the TFT drivers
// available and the pins to be used, etc, etc
#include <User_Setup_Select.h>
//Standard support //Standard support
#include <Arduino.h> #include <Arduino.h>
...@@ -31,8 +28,13 @@ ...@@ -31,8 +28,13 @@
#include <SPI.h> #include <SPI.h>
/*************************************************************************************** /***************************************************************************************
** Section 2: Load processor specific header files ** Section 2: Load library and processor specific header files
***************************************************************************************/ ***************************************************************************************/
// Include header file that defines the fonts loaded, the TFT drivers
// available and the pins to be used, etc, etc
#include <User_Setup_Select.h>
// Handle FLASH based storage e.g. PROGMEM
#ifdef __AVR__ #ifdef __AVR__
#include <avr/pgmspace.h> #include <avr/pgmspace.h>
#elif defined(ESP8266) || defined(ESP32) #elif defined(ESP8266) || defined(ESP32)
...@@ -670,7 +672,7 @@ class TFT_eSPI : public Print { ...@@ -670,7 +672,7 @@ class TFT_eSPI : public Print {
inline void end_tft_write() __attribute__((always_inline)); inline void end_tft_write() __attribute__((always_inline));
// begin/end a TFT read transaction // begin/end a TFT read transaction
// For SPI bus begin lowers SPI clock rate, end reinstates transmit clock rate // For SPI bus: begin lowers SPI clock rate, end reinstates transmit clock rate
inline void begin_tft_read() __attribute__((always_inline)); inline void begin_tft_read() __attribute__((always_inline));
inline void end_tft_read() __attribute__((always_inline)); inline void end_tft_read() __attribute__((always_inline));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment