changeset 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 734f84b72b30
children ef99fff2d2de
files Discovery/Src/tMenuEditSystem.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditSystem.c	Fri Feb 20 17:26:46 2026 +0100
+++ b/Discovery/Src/tMenuEditSystem.c	Sun Feb 22 19:56:43 2026 +0100
@@ -997,9 +997,11 @@
 		for(index = EF_PROFILE0; index <= EF_PROFILE3; index++)
 		ext_flash_write_settings(index,0);
 	}
-	if(profileActiveStart != settingsGetPointer()->activeProfile)
+	if(profileActiveStart != settingsGetPointer()->activeProfile)	/* changes need to be done because of profile switch ?*/
 	{
 		createDiveSettings();
+		reset_ButtonLock();
+		DataEX_setExtInterface_Cmd(EXT_INTERFACE_COPY_SENSORMAP, 0);
 	}
 	exitMenuEdit(1);
 }