Fix flicker
This commit is contained in:
@@ -67,11 +67,12 @@ static void bootloaderDrawFooter()
|
|||||||
|
|
||||||
void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
|
void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
|
||||||
{
|
{
|
||||||
#if defined(COLORLCD)
|
// shows current layer on LCD
|
||||||
lcdNextLayer();
|
lcdRefresh();
|
||||||
#endif
|
|
||||||
|
|
||||||
lcd->clear(DEFAULT_BGCOLOR);
|
// swap back & front buffers
|
||||||
|
lcdNextLayer();
|
||||||
|
lcd->clear(BL_BACKGROUND);
|
||||||
|
|
||||||
if (st == ST_START) {
|
if (st == ST_START) {
|
||||||
bootloaderDrawTitle(88, BOOTLOADER_TITLE);
|
bootloaderDrawTitle(88, BOOTLOADER_TITLE);
|
||||||
|
|||||||
Reference in New Issue
Block a user