Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TFT_eSPI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
TFT_eSPI
Commits
8146ac30
Unverified
Commit
8146ac30
authored
Feb 02, 2020
by
Bodmer
Committed by
GitHub
Feb 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move include for User_Setup_Select.h (#537)
Requested change in #537
parent
c8530d7a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
TFT_eSPI.h
TFT_eSPI.h
+7
-5
No files found.
TFT_eSPI.h
View file @
8146ac30
...
@@ -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
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment