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
58fa8326
Unverified
Commit
58fa8326
authored
Nov 26, 2017
by
Bodmer
Committed by
GitHub
Nov 26, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct uninitialised warning on ESP32
int16_t xo16 = 0, yo16 = 0;
parent
e2d019b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
TFT_eSPI.cpp
TFT_eSPI.cpp
+2
-2
No files found.
TFT_eSPI.cpp
View file @
58fa8326
...
...
@@ -1580,7 +1580,7 @@ void TFT_eSPI::drawChar(int32_t x, int32_t y, unsigned char c, uint32_t color, u
int8_t
xo
=
pgm_read_byte
(
&
glyph
->
xOffset
),
yo
=
pgm_read_byte
(
&
glyph
->
yOffset
);
uint8_t
xx
,
yy
,
bits
,
bit
=
0
;
int16_t
xo16
,
yo16
;
int16_t
xo16
=
0
,
yo16
=
0
;
if
(
size
>
1
)
{
xo16
=
xo
;
...
...
@@ -4590,7 +4590,7 @@ void TFT_eSprite::drawChar(int32_t x, int32_t y, unsigned char c, uint32_t color
int8_t
xo
=
pgm_read_byte
(
&
glyph
->
xOffset
),
yo
=
pgm_read_byte
(
&
glyph
->
yOffset
);
uint8_t
xx
,
yy
,
bits
,
bit
=
0
;
int16_t
xo16
,
yo16
;
int16_t
xo16
=
0
,
yo16
=
0
;
if
(
size
>
1
)
{
xo16
=
xo
;
...
...
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