Mercurial > public > ostc4
changeset 1013:fa1af49319e5 GasConsumption
Update Information view:
OSTC5 is now displayed instead of OSTC4 in case a matching HW is present
author | Ideenmodellierer |
---|---|
date | Sat, 10 May 2025 21:27:06 +0200 (3 months ago) |
parents | 23c405d5a766 |
children | 8c0134a287da |
files | Discovery/Src/tMenuEditSystem.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c Sat May 10 21:26:02 2025 +0200 +++ b/Discovery/Src/tMenuEditSystem.c Sat May 10 21:27:06 2025 +0200 @@ -1100,7 +1100,14 @@ text_header[1] = TXT_Information; text_header[2] = 0; - write_label_var( 20, 800, ME_Y_LINE1, &FontT42, "Dive Computer OSTC4"); + if(isNewDisplay()) + { + write_label_var( 20, 800, ME_Y_LINE1, &FontT42, "Dive Computer OSTC5"); + } + else + { + write_label_var( 20, 800, ME_Y_LINE1, &FontT42, "Dive Computer OSTC4"); + } write_label_var( 20, 800, ME_Y_LINE2, &FontT42, "Design heinrichs/weikamp"); Sdate.Year = firmwareDataGetPointer()->release_year;