diff Discovery/Src/base.c @ 1035:5b913cdaa9dc Puls_Integration

Degub message logger: Added functionality to handle logger view (in case it is enabled via compile switch) like a normal t7 custom view.
author Ideenmodellierer
date Sat, 09 Aug 2025 16:55:20 +0200
parents 195bfbdf961d
children 5865f0aeb438
line wrap: on
line diff
--- a/Discovery/Src/base.c	Thu Aug 07 20:18:52 2025 +0200
+++ b/Discovery/Src/base.c	Sat Aug 09 16:55:20 2025 +0200
@@ -737,11 +737,13 @@
 	SStateList status;
 	get_globalStateList(&status);
 
-	if((status.base != 0) && (InfoLogger_isUpdated()))
+#ifdef ENABLE_LOGGER_WINDOW
+	if((status.base != 0) && (get_globalState() != StILOGGER) && (InfoLogger_isUpdated()))
 	{
 		openInfo_Logger();
 		get_globalStateList(&status);
 	}
+#endif
 
 	switch(status.base)
 	{
@@ -935,6 +937,8 @@
 								break;
 							case InfoPagePreDive: 	sendActionToInfoPreDive(action);
 								break;
+							case InfoPageLogger: 	exitInfo();
+								break;
 							default:				sendActionToInfo(action);
 								break;
 						}