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
b3dab671
Unverified
Commit
b3dab671
authored
Jan 17, 2021
by
Maximilian Gerhardt
Committed by
GitHub
Jan 17, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix uncompilable TFT_eSPI_ESP32.h when TFT_RD >= 32
parent
5f171eee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Processors/TFT_eSPI_ESP32.h
Processors/TFT_eSPI_ESP32.h
+2
-2
No files found.
Processors/TFT_eSPI_ESP32.h
View file @
b3dab671
...
@@ -346,8 +346,8 @@
...
@@ -346,8 +346,8 @@
// Read pin
// Read pin
#ifdef TFT_RD
#ifdef TFT_RD
#if (TFT_RD >= 32)
#if (TFT_RD >= 32)
#define RD_L GPIO.out1_w1tc.val =
=
(1 << (TFT_RD - 32))
#define RD_L GPIO.out1_w1tc.val = (1 << (TFT_RD - 32))
#define RD_H GPIO.out1_w1ts.val =
=
(1 << (TFT_RD - 32))
#define RD_H GPIO.out1_w1ts.val = (1 << (TFT_RD - 32))
#elif (TFT_RD >= 0)
#elif (TFT_RD >= 0)
#define RD_L GPIO.out_w1tc = (1 << TFT_RD)
#define RD_L GPIO.out_w1tc = (1 << TFT_RD)
//#define RD_L digitalWrite(TFT_WR, LOW)
//#define RD_L digitalWrite(TFT_WR, LOW)
...
...
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