comparison Discovery/Src/data_exchange_main.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 082825daccb5
children
comparison
equal deleted inserted replaced
1081:1b38d7b8da35 1082:1aa45000f92c
469 if(isNewDisplay()) 469 if(isNewDisplay())
470 { 470 {
471 dataOut.displayVersion = 1; 471 dataOut.displayVersion = 1;
472 } 472 }
473 #ifdef ENABLE_HUD_SUPPORT 473 #ifdef ENABLE_HUD_SUPPORT
474 memcpy (dataOut.data.externalInterface_HUD_Update, pStateReal->lifeData.HUD_led_sequence, EXT_INTERFACE_HUD_LED_MAX); 474 memcpy (dataOut.data.externalInterface_HUD_Update, stateUsed->lifeData.HUD_led_sequence, EXT_INTERFACE_HUD_LED_MAX);
475 dataOut.data.externalInterface_HUD_Brightness = pStateReal->lifeData.HUD_led_brightness; 475 dataOut.data.externalInterface_HUD_Brightness = pStateReal->lifeData.HUD_led_brightness;
476 #endif 476 #endif
477 if(DataEX_check_header_and_footer_ok() && !told_reset_logik_alles_ok) 477 if(DataEX_check_header_and_footer_ok() && !told_reset_logik_alles_ok)
478 { 478 {
479 MX_tell_reset_logik_alles_ok(); 479 MX_tell_reset_logik_alles_ok();