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
e86f76c1
Commit
e86f76c1
authored
Feb 09, 2018
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct mirrored rotations 4-7 for M5Stack
parent
299eafc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
TFT_Drivers/ILI9341_Rotation.h
TFT_Drivers/ILI9341_Rotation.h
+4
-4
No files found.
TFT_Drivers/ILI9341_Rotation.h
View file @
e86f76c1
...
...
@@ -44,7 +44,7 @@
// These next rotations are for bottom up BMP drawing
case
4
:
#ifdef M5STACK
writedata
(
TFT_MAD_M
V
|
TFT_MAD_MX
|
TFT_MAD_BGR
);
writedata
(
TFT_MAD_M
X
|
TFT_MAD_MY
|
TFT_MAD_MV
|
TFT_MAD_BGR
);
#else
writedata
(
TFT_MAD_MX
|
TFT_MAD_MY
|
TFT_MAD_BGR
);
#endif
...
...
@@ -53,7 +53,7 @@
break
;
case
5
:
#ifdef M5STACK
writedata
(
TFT_MAD_M
V
|
TFT_MAD_BGR
);
writedata
(
TFT_MAD_M
Y
|
TFT_MAD_BGR
);
#else
writedata
(
TFT_MAD_MV
|
TFT_MAD_MX
|
TFT_MAD_BGR
);
#endif
...
...
@@ -62,7 +62,7 @@
break
;
case
6
:
#ifdef M5STACK
writedata
(
TFT_MAD_M
X
|
TFT_MAD_MY
|
TFT_MAD_M
V
|
TFT_MAD_BGR
);
writedata
(
TFT_MAD_MV
|
TFT_MAD_BGR
);
#else
writedata
(
TFT_MAD_BGR
);
#endif
...
...
@@ -71,7 +71,7 @@
break
;
case
7
:
#ifdef M5STACK
writedata
(
TFT_MAD_M
Y
|
TFT_MAD_BGR
);
writedata
(
TFT_MAD_M
X
|
TFT_MAD_BGR
);
#else
writedata
(
TFT_MAD_MY
|
TFT_MAD_MV
|
TFT_MAD_BGR
);
#endif
...
...
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