Mercurial > public > ostc4
diff Discovery/Src/text_multilanguage.c @ 775:46c6d2380d4e
Add a shortcuts to change the setpoint to the loop to the 'normal' display when diving. It is only shown when diving in CCR mode and on the loop.
Uses the configured setpoint with the highest / lowest switch depth as the high / low setpoints respectively. (mikeller)
author | heinrichsweikamp |
---|---|
date | Thu, 11 May 2023 12:13:03 +0200 |
parents | 6169309d6eb9 |
children | 45b8f3c2acce |
line wrap: on
line diff
--- a/Discovery/Src/text_multilanguage.c Wed May 10 16:25:39 2023 +0200 +++ b/Discovery/Src/text_multilanguage.c Thu May 11 12:13:03 2023 +0200 @@ -1835,6 +1835,12 @@ static uint8_t text_IT_LoopShort[] = "CC"; static uint8_t text_ES_LoopShort[] = "CC"; +static uint8_t text_EN_SetpointShort[] = "SP"; +static uint8_t text_DE_SetpointShort[] = "SP"; +static uint8_t text_FR_SetpointShort[] = "SP"; +static uint8_t text_IT_SetpointShort[] = "SP"; +static uint8_t text_ES_SetpointShort[] = "SP"; + /* Lookup Table -------------------------------------------------------------*/ const tText text_array[] = @@ -2103,10 +2109,11 @@ {(uint8_t)TXT2BYTE_CcrSummary, {text_EN_CcrSummary, text_DE_CcrSummary, text_FR_CcrSummary, text_IT_CcrSummary, text_ES_CcrSummary}}, {(uint8_t)TXT2BYTE_Setpoint, {text_EN_Setpoint, text_DE_Setpoint, text_FR_Setpoint, text_IT_Setpoint, text_ES_Setpoint}}, {(uint8_t)TXT2BYTE_Scrubber, {text_EN_Scrubber, text_DE_Scrubber, text_FR_Scrubber, text_IT_Scrubber, text_ES_Scrubber}}, + {(uint8_t)TXT2BYTE_BailoutShort, {text_EN_BailoutShort, text_DE_BailoutShort, text_FR_BailoutShort, text_IT_BailoutShort, text_ES_BailoutShort}}, + {(uint8_t)TXT2BYTE_LoopShort, {text_EN_LoopShort, text_DE_LoopShort, text_FR_LoopShort, text_IT_LoopShort, text_ES_LoopShort}}, + {(uint8_t)TXT2BYTE_SetpointShort, {text_EN_SetpointShort, text_DE_SetpointShort, text_FR_SetpointShort, text_IT_SetpointShort, text_ES_SetpointShort}}, {(uint8_t)TXT2BYTE_Set, {text_EN_Set, text_DE_Set, text_FR_Set, text_IT_Set, text_ES_Set}}, {(uint8_t)TXT2BYTE_Clear, {text_EN_Clear, text_DE_Clear, text_FR_Clear, text_IT_Clear, text_ES_Clear}}, {(uint8_t)TXT2BYTE_Reset, {text_EN_Reset, text_DE_Reset, text_FR_Reset, text_IT_Reset, text_ES_Reset}}, - {(uint8_t)TXT2BYTE_BailoutShort, {text_EN_BailoutShort, text_DE_BailoutShort, text_FR_BailoutShort, text_IT_BailoutShort, text_ES_BailoutShort}}, - {(uint8_t)TXT2BYTE_LoopShort, {text_EN_LoopShort, text_DE_LoopShort, text_FR_LoopShort, text_IT_LoopShort, text_ES_LoopShort}}, };