diff -r 537ffe280775 -r e5900c9b9a7b main/brewboard.c --- a/main/brewboard.c Thu May 02 17:12:06 2019 +0200 +++ b/main/brewboard.c Thu May 02 21:19:50 2019 +0200 @@ -22,7 +22,7 @@ int Main_Screen = MAIN_MODE_UNKNOWN; ///< Screen number int Old_Screen = MAIN_MODE_UNKNOWN; ///< Previous screen number bool System_TimeOk = false; ///< System time status - +const esp_app_desc_t *app_desc = NULL; void app_main() @@ -36,7 +36,8 @@ TFT_setFont(DEJAVU24_FONT, NULL); _fg = TFT_YELLOW; tempy = TFT_getfontheight() + 4; - sprintf(temp, "BrewBoard %s", VERSION); + app_desc = esp_ota_get_app_description(); + sprintf(temp, "BrewBoard %s", app_desc->version); TFT_print(temp, CENTER, 4); TFT_setFont(DEJAVU18_FONT, NULL);