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
4e8af767
Commit
4e8af767
authored
Apr 23, 2022
by
Bodmer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bug for ESP32 with 8 bit parallel SSD1963
parent
0141bf68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Processors/TFT_eSPI_ESP32.c
Processors/TFT_eSPI_ESP32.c
+4
-0
No files found.
Processors/TFT_eSPI_ESP32.c
View file @
4e8af767
...
...
@@ -515,7 +515,11 @@ void TFT_eSPI::pushSwapBytePixels(const void* data_in, uint32_t len){
** Description: Write a block of pixels of the same colour
***************************************************************************************/
void
TFT_eSPI
::
pushBlock
(
uint16_t
color
,
uint32_t
len
){
#if defined (SSD1963_DRIVER)
if
(
((
color
&
0xF800
)
>>
8
)
==
((
color
&
0x07E0
)
>>
3
)
&&
((
color
&
0xF800
)
>>
8
)
==
((
color
&
0x001F
)
<<
3
)
)
#else
if
(
(
color
>>
8
)
==
(
color
&
0x00FF
)
)
#endif
{
if
(
!
len
)
return
;
tft_Write_16
(
color
);
#if defined (SSD1963_DRIVER)
...
...
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