changeset 914:5ce7708a9095 Evo_2_23

Devbugfix SlowExit depth: The slow exit time instead of the depth has been shown in the option menu.
author Ideenmodellierer
date Sat, 19 Oct 2024 20:06:55 +0200
parents 5f38cf765193
children ff318ae65dd0
files Discovery/Src/tMenuEditDeco.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditDeco.c	Tue Oct 15 21:10:45 2024 +0200
+++ b/Discovery/Src/tMenuEditDeco.c	Sat Oct 19 20:06:55 2024 +0200
@@ -286,11 +286,11 @@
     text[2] = TXT_Minutes;
     if(settingsGetPointer()->nonMetricalSystem)
     {
-        sprintf(&text[3], "\017  ^      %u\016\016 ft\017", settingsGetPointer()->slowExitTime);
+        sprintf(&text[3], "\017  ^      %u\016\016 ft\017", unit_depth_integer(settingsGetPointer()->last_stop_depth_meter));
     }
     else
     {
-        sprintf(&text[3],  "\017  ^      %u\016\016 m\017", settingsGetPointer()->slowExitTime);
+        sprintf(&text[3],  "\017  ^      %u\016\016 m\017", settingsGetPointer()->last_stop_depth_meter);
     }
     write_label_var(  410, 800, y_line, &FontT48, text);