diff Discovery/Src/text_multilanguage.c @ 902:d4622533271d Evo_2_23

VPM table mode: Because of the model maths, usage of float data type and so on it may happen that the TTS decreases during ascent and continues calculation of the vpm. To keep the values stable the vpm table mode has been introduces. Instead of continously calculation of the stops the stop time is decreased if the diver is close to a deco stop. If the table is violated (e.g. by not doing gas change) the table will be updated to the new, longer runtime. The table will not be switch back to a shorter version in case e.g. the missed gas change is performed
author Ideenmodellierer
date Wed, 02 Oct 2024 22:18:19 +0200
parents 2225c467f1e9
children
line wrap: on
line diff
--- a/Discovery/Src/text_multilanguage.c	Wed Oct 02 22:07:13 2024 +0200
+++ b/Discovery/Src/text_multilanguage.c	Wed Oct 02 22:18:19 2024 +0200
@@ -1944,6 +1944,12 @@
 static uint8_t text_IT_Position[] = "";
 static uint8_t text_ES_Position[] = "";
 
+static uint8_t text_EN_VpmTable[] = "VPM table mode";
+static uint8_t text_DE_VpmTable[] = "VPM Tabellenmodus";
+static uint8_t text_FR_VpmTable[] = "";
+static uint8_t text_IT_VpmTable[] = "";
+static uint8_t text_ES_VpmTable[] = "";
+
 static uint8_t text_EN_Page[] = "Page";
 static uint8_t text_DE_Page[] = "Blättern";
 static uint8_t text_FR_Page[] = "Défiler";
@@ -2247,6 +2253,7 @@
 	{(uint8_t)TXT2BYTE_Finished, 	{text_EN_Finished, text_DE_Finished, text_FR_Finished, text_IT_Finished, text_ES_Finished}},
 
 	{(uint8_t)TXT2BYTE_Position, 	{text_EN_Position, text_DE_Position, text_FR_Position, text_IT_Position, text_ES_Position}},
+	{(uint8_t)TXT2BYTE_VpmTable, 	{text_EN_VpmTable, text_DE_VpmTable, text_FR_VpmTable, text_IT_VpmTable, text_ES_VpmTable}},
 
 	{(uint8_t)TXT2BYTE_Page, 	{text_EN_Page, text_DE_Page, text_FR_Page, text_IT_Page, text_ES_Page}},
 };