Fix display when power button is released before shutdown
This commit is contained in:
committed by
Raphael Coeffic
parent
3eb109b198
commit
cd4d3a28ee
@@ -211,6 +211,10 @@ void drawShutdownAnimation(uint32_t duration, uint32_t totalDuration,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
|
|
||||||
|
// invalidate screen to enable quick return
|
||||||
|
// to normal display routine
|
||||||
|
lv_obj_invalidate(lv_scr_act());
|
||||||
}
|
}
|
||||||
|
|
||||||
void drawFatalErrorScreen(const char * message)
|
void drawFatalErrorScreen(const char * message)
|
||||||
|
|||||||
Reference in New Issue
Block a user