Fix bootloader display init order

This commit is contained in:
Raphael Coeffic
2022-06-17 05:34:47 +02:00
committed by Raphael Coeffic
parent 479e8ad244
commit 8681d5aa3e
5 changed files with 16 additions and 6 deletions
@@ -53,8 +53,12 @@ extern BitmapBuffer * lcd;
void bootloaderInitScreen()
{
backlightEnable(BACKLIGHT_LEVEL_MAX);
// Init display first
lcdInitDisplayDriver();
// then backlight
backlightInit();
backlightEnable(BACKLIGHT_LEVEL_MAX);
}
static void bootloaderDrawTitle(unsigned int x, const char* text)