diff Discovery/Src/tMenu.c @ 1037:2af07aa38531 GasConsumption

Merge with external development branches: Some features have been prepared for integration: Profiles, DMA UART on Firmware part, Bluetooth discovery and messges logging for development phase. All these new function are deactivated by compile switch and may be activated using the configuration.h for testing purpose.
author Ideenmodellierer
date Mon, 15 Sep 2025 21:12:44 +0200
parents 3d9552e4997c
children f8e2895c91e5
line wrap: on
line diff
--- a/Discovery/Src/tMenu.c	Sun Sep 07 20:44:35 2025 +0200
+++ b/Discovery/Src/tMenu.c	Mon Sep 15 21:12:44 2025 +0200
@@ -826,7 +826,12 @@
         update_content_actual_page(text, tabPosition, subtext);
         break;
     case StMSYS:
-        if((line == get_lineOfID(StMSYS1_DateTime)) || (line == get_lineOfID(StMSYS2_English)) || (line == get_lineOfID(StMSYS_Profile)))
+        if((line == get_lineOfID(StMSYS1_DateTime)) || (line == get_lineOfID(StMSYS2_English))
+#ifdef ENABLE_SETTING_PROFILES
+        		|| (line == get_lineOfID(StMSYS_Profile)))
+#else
+        	)
+#endif
         {
             tM_rebuild_pages();
             menu.lineMemoryForNavigationForPage[page] = line; // fix 160623