main/task_tft.c

branch
novnc
changeset 39
e5900c9b9a7b
parent 25
79ee940410de
child 40
71e06f6d80fd
--- a/main/task_tft.c	Thu May 02 17:12:06 2019 +0200
+++ b/main/task_tft.c	Thu May 02 21:19:50 2019 +0200
@@ -30,6 +30,7 @@
 extern bool			_NewMinute;
 extern bool			_UseHLT;
 extern bool			System_TimeOk;
+extern const esp_app_desc_t            *app_desc;
 
 static const char		*TAG = "task_tft";
 
@@ -557,7 +558,7 @@
 			break;
 
 		case MAIN_INFO:
-			sprintf(temp_buf, "BrewBoard %s", VERSION);
+			sprintf(temp_buf, "BrewBoard %s", app_desc->version);
 			TopMessage(temp_buf);
 			_fg = TFT_YELLOW;
 			TFT_setFont(UBUNTU16_FONT, NULL);
@@ -565,7 +566,7 @@
 			//         -------------------------------------
 			_fg = TFT_ORANGE;
 			TFT_print("Parts are written by Chris Morgan,\r\n", 0, LASTY);
-			TFT_print("Brett Beauregard, Chris Garry, LoBo,\r\n", 0, LASTY);
+			TFT_print("Brett Beauregard, Blake Felt, LoBo,\r\n", 0, LASTY);
 			TFT_print("and David Antliff.\r\n", 0, LASTY);
 			ShowInteger(1,140, "Free memory", " bytes", esp_get_free_heap_size());
 			ShowText(1,158, "IDF version", (char *)esp_get_idf_version());

mercurial