comparison Discovery/Src/tMenuEditSystem.c @ 1074:ad61a2c9095a Icon_Integration

Forward profile sensor settings to RTE: The profile settings include the sensor map => forward the sensor map matching to the profile to the RTE.
author ideenmodellierer
date Sun, 22 Feb 2026 19:56:43 +0100
parents a7ed4eb3142b
children
comparison
equal deleted inserted replaced
1073:734f84b72b30 1074:ad61a2c9095a
995 if(writeFlash) 995 if(writeFlash)
996 { 996 {
997 for(index = EF_PROFILE0; index <= EF_PROFILE3; index++) 997 for(index = EF_PROFILE0; index <= EF_PROFILE3; index++)
998 ext_flash_write_settings(index,0); 998 ext_flash_write_settings(index,0);
999 } 999 }
1000 if(profileActiveStart != settingsGetPointer()->activeProfile) 1000 if(profileActiveStart != settingsGetPointer()->activeProfile) /* changes need to be done because of profile switch ?*/
1001 { 1001 {
1002 createDiveSettings(); 1002 createDiveSettings();
1003 reset_ButtonLock();
1004 DataEX_setExtInterface_Cmd(EXT_INTERFACE_COPY_SENSORMAP, 0);
1003 } 1005 }
1004 exitMenuEdit(1); 1006 exitMenuEdit(1);
1005 } 1007 }
1006 #endif 1008 #endif
1007 #ifdef ENABLE_SETTING_PROFILES 1009 #ifdef ENABLE_SETTING_PROFILES