fix: do not access null lvobj
This commit is contained in:
committed by
Raphael Coeffic
parent
6d7c8ed059
commit
b44ba6c60c
+1
@@ -138,6 +138,7 @@ class Window
|
|||||||
void setTextFlags(LcdFlags flags)
|
void setTextFlags(LcdFlags flags)
|
||||||
{
|
{
|
||||||
textFlags = flags;
|
textFlags = flags;
|
||||||
|
if (!lvobj) return;
|
||||||
|
|
||||||
// lv integration for colors
|
// lv integration for colors
|
||||||
auto textColor = COLOR_VAL(flags);
|
auto textColor = COLOR_VAL(flags);
|
||||||
|
|||||||
Reference in New Issue
Block a user