comparison Discovery/Src/text_multilanguage.c @ 1082:1aa45000f92c Icon_Integration tip

Added configuration menu for HUD functions: The V1 HUD has 4 functions (holes) which may be realized by one or two LEDs. The functions (like ppo2 monitoring or ascent speed) may be configurated by the diver using the HUD menu. The functions which may be selected depend on the HW configuration (e.g. the connected sensors) and the number of LEDs which are needed to realize the function. The previous HUD test implementation may still be activate usind the compile switch ENABLE_HUD_TESTING
author Ideenmodellierer
date Sun, 15 Mar 2026 21:40:35 +0100
parents 3c3fb9f4edc4
children
comparison
equal deleted inserted replaced
1081:1b38d7b8da35 1082:1aa45000f92c
2027 static uint8_t text_EN_Logger[] = "Debug Messages"; 2027 static uint8_t text_EN_Logger[] = "Debug Messages";
2028 static uint8_t text_DE_Logger[] = "Logger"; 2028 static uint8_t text_DE_Logger[] = "Logger";
2029 static uint8_t text_FR_Logger[] = ""; 2029 static uint8_t text_FR_Logger[] = "";
2030 static uint8_t text_IT_Logger[] = ""; 2030 static uint8_t text_IT_Logger[] = "";
2031 static uint8_t text_ES_Logger[] = ""; 2031 static uint8_t text_ES_Logger[] = "";
2032
2033 static uint8_t text_EN_Function[] = "Function";
2034 static uint8_t text_DE_Function[] = "Funktion";
2035 static uint8_t text_FR_Function[] = "";
2036 static uint8_t text_IT_Function[] = "";
2037 static uint8_t text_ES_Function[] = "";
2038
2039 static uint8_t text_EN_AscentSpeed[] = "Ascent speed";
2040 static uint8_t text_DE_AscentSpeed[] = "Austiegsgeschwindigkeit";
2041 static uint8_t text_FR_AscentSpeed[] = "";
2042 static uint8_t text_IT_AscentSpeed[] = "";
2043 static uint8_t text_ES_AscentSpeed[] = "";
2044
2032 2045
2033 /* Lookup Table -------------------------------------------------------------*/ 2046 /* Lookup Table -------------------------------------------------------------*/
2034 2047
2035 const tText text_array[] = 2048 const tText text_array[] =
2036 { 2049 {
2346 {(uint8_t)TXT2BYTE_Log, {text_EN_Log, text_DE_Log, text_FR_Log, text_IT_Log, text_ES_Log}}, 2359 {(uint8_t)TXT2BYTE_Log, {text_EN_Log, text_DE_Log, text_FR_Log, text_IT_Log, text_ES_Log}},
2347 {(uint8_t)TXT2BYTE_Reverse, {text_EN_Reverse, text_DE_Reverse, text_FR_Reverse, text_IT_Reverse, text_ES_Reverse}}, 2360 {(uint8_t)TXT2BYTE_Reverse, {text_EN_Reverse, text_DE_Reverse, text_FR_Reverse, text_IT_Reverse, text_ES_Reverse}},
2348 2361
2349 {(uint8_t)TXT2BYTE_Pulse, {text_EN_Pulse, text_DE_Pulse, text_FR_Pulse, text_IT_Pulse, text_ES_Pulse}}, 2362 {(uint8_t)TXT2BYTE_Pulse, {text_EN_Pulse, text_DE_Pulse, text_FR_Pulse, text_IT_Pulse, text_ES_Pulse}},
2350 {(uint8_t)TXT2BYTE_Logger, {text_EN_Logger, text_DE_Logger, text_FR_Logger, text_IT_Logger, text_ES_Logger}}, 2363 {(uint8_t)TXT2BYTE_Logger, {text_EN_Logger, text_DE_Logger, text_FR_Logger, text_IT_Logger, text_ES_Logger}},
2364 {(uint8_t)TXT2BYTE_FUNCTION, {text_EN_Function, text_DE_Function, text_FR_Function, text_IT_Function, text_ES_Function}},
2365 {(uint8_t)TXT2BYTE_AscentSpeed, {text_EN_AscentSpeed, text_DE_AscentSpeed, text_FR_AscentSpeed, text_IT_AscentSpeed, text_ES_AscentSpeed}},
2351 2366
2352 2367
2353 }; 2368 };