Mercurial > public > ostc4
diff Discovery/Src/tMenuPlanner.c @ 567:1c95f811967c
-Add 12HR Time Support
-Add firmware image only font extensions
-Show english units when required in log's graphs
-Show decompression info with Font84 if 10 characters long
-Remove usage of ' symbol to denote minutes and instead use min abbreviation
-Show english units when required on the simulation configuration screen
-Remove usage of ' symbol to denote feet in in non-metric mode and use ft abbrevation
author | izzni |
---|---|
date | Tue, 24 Nov 2020 13:22:23 -0600 |
parents | 5f11787b4f42 |
children | 52df13712fa3 |
line wrap: on
line diff
--- a/Discovery/Src/tMenuPlanner.c Sat Nov 21 17:41:59 2020 +0100 +++ b/Discovery/Src/tMenuPlanner.c Tue Nov 24 13:22:23 2020 -0600 @@ -41,6 +41,7 @@ #define STD_divetime (20) uint16_t tMplan_depth_meter = STD_depth, tMplan_intervall_time_minutes = STD_intervall, tMplan_dive_time_minutes = STD_divetime; +uint16_t tMplan_depth_editor; /* Exported functions --------------------------------------------------------*/ @@ -88,7 +89,7 @@ text[textPointer++] = TXT_2BYTE; text[textPointer++] = TXT2BYTE_Intervall; text[textPointer++] = '\t'; - textPointer += snprintf(&text[textPointer],30,"%u'",tMplan_intervall_time_minutes); + textPointer += snprintf(&text[textPointer],30,"%u \016\016min\017",tMplan_intervall_time_minutes); } strcpy(&text[textPointer],"\n\r"); textPointer += 2; @@ -97,7 +98,7 @@ text[textPointer++] = TXT_2BYTE; text[textPointer++] = TXT2BYTE_SimDiveTime; text[textPointer++] = '\t'; - textPointer += snprintf(&text[textPointer],30,"%u'",tMplan_dive_time_minutes); + textPointer += snprintf(&text[textPointer],30,"%u \016\016min\017",tMplan_dive_time_minutes); } strcpy(&text[textPointer],"\n\r"); textPointer += 2;