Mercurial > public > ostc4
diff Discovery/Src/text_multilanguage.c @ 882:608d3e918146 Evo_2_23
Added slow exit timer function:
At the end of the dive the final ascent to surface should be done slowly. The new function provides a comparison of the current divers depth compared to a linear ascent simulated by the OSTC. The visualization is shown instead of the ascent speed with a little different appearance. The linear ascent is starting from the last stop depth and the time for the ascent may be configurated in the deco settings. The simulated and real peth is compared and the depth color changes based on the difference of the values. In case the diver is much below the timer depth then the timer will stop and wait for the diver to follow.
author | Ideenmodellierer |
---|---|
date | Sat, 31 Aug 2024 17:35:52 +0200 |
parents | e373e90a48db |
children | 2225c467f1e9 |
line wrap: on
line diff
--- a/Discovery/Src/text_multilanguage.c Sat Aug 31 17:28:37 2024 +0200 +++ b/Discovery/Src/text_multilanguage.c Sat Aug 31 17:35:52 2024 +0200 @@ -1776,6 +1776,12 @@ static uint8_t text_IT_DecoTTS[] = ""; static uint8_t text_ES_DecoTTS[] = ""; +static uint8_t text_EN_SlowExit[] = "Slow exit"; +static uint8_t text_DE_SlowExit[] = "Ausstieg"; +static uint8_t text_FR_SlowExit[] = ""; +static uint8_t text_IT_SlowExit[] = ""; +static uint8_t text_ES_SlowExit[] = ""; + static uint8_t text_EN_ScrubTime[] = "Scrubber time"; static uint8_t text_DE_ScrubTime[] = "Kalkstandzeit"; static uint8_t text_FR_ScrubTime[] = "Scrubber time"; @@ -2199,6 +2205,7 @@ {(uint8_t)TXT2BYTE_Navigation, {text_EN_Navigation, text_DE_Navigation, text_FR_Navigation, text_IT_Navigation, text_ES_Navigation}}, {(uint8_t)TXT2BYTE_DepthData, {text_EN_DepthData, text_DE_DepthData, text_FR_DepthData, text_IT_DepthData, text_ES_DepthData}}, {(uint8_t)TXT2BYTE_DecoTTS, {text_EN_DecoTTS, text_DE_DecoTTS, text_FR_DecoTTS, text_IT_DecoTTS, text_ES_DecoTTS}}, + {(uint8_t)TXT2BYTE_SlowExit, {text_EN_SlowExit, text_DE_SlowExit, text_FR_SlowExit, text_IT_SlowExit, text_ES_SlowExit}}, {(uint8_t)TXT2BYTE_Minimum, {text_EN_Minimum, text_DE_Minimum, text_FR_Minimum, text_IT_Minimum, text_ES_Minimum}}, {(uint8_t)TXT2BYTE_Normal, {text_EN_Normal, text_DE_Normal, text_FR_Normal, text_IT_Normal, text_ES_Normal}},