# HG changeset patch
# User Ideenmodellierer
# Date 1729361215 -7200
# Node ID 5ce7708a90951bee7caebbcf7a36865ab37c927c
# Parent  5f38cf7651936ea95c9da14e8c76fdab75963670
Devbugfix SlowExit depth:
The slow exit time instead of the depth has been shown in the option menu.

diff -r 5f38cf765193 -r 5ce7708a9095 Discovery/Src/tMenuEditDeco.c
--- 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);