Skip to content

Commit

Permalink
Draw title at startup so errors are correctly displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
OtherCrashOverride committed Jul 26, 2018
1 parent 2d7295e commit 34741b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,8 @@ static void menu_main()
{
sprintf(tempstring,"Ver: %s-%s", COMPILEDATE, GITREV);

ui_draw_title();

// Check SD card
esp_err_t ret = odroid_sdcard_open(SD_CARD);
if (ret != ESP_OK)
Expand Down Expand Up @@ -1104,7 +1106,7 @@ void app_main(void)


ili9341_init();
ili9341_clear(0x0000);
ili9341_clear(0xffff);

UG_Init(&gui, pset, 320, 240);

Expand Down

0 comments on commit 34741b8

Please sign in to comment.