diff Discovery/Inc/tStructure.h @ 1070:4499227a2db8 Icon_Integration

Added compile option for o2/diluent pressure display: Some external devices (like the RedBare rebreather) provide pressure sensor information o2 and diluent bottles. A data channel from RTE to main CPU has been defined and a visualization has been added to the lower left corner (llc). Pressure will be displayed in the gas list as well => for o2 display the definition of a 100% o2 gas is needed. Diluent will be assigned to the first gas. The ADVANCED_GAS compile switch needs to be activated for this feature
author Ideenmodellierer
date Thu, 19 Feb 2026 13:17:25 +0100
parents 73642758aa72
children
line wrap: on
line diff
--- a/Discovery/Inc/tStructure.h	Tue Feb 17 20:46:45 2026 +0100
+++ b/Discovery/Inc/tStructure.h	Thu Feb 19 13:17:25 2026 +0100
@@ -133,8 +133,10 @@
 #define StMOG_GasType				_MB(2,1,255,2,0)
 #define StMOG_ChangeDepth		_MB(2,1,255,3,0)
 #define StMOG_SetToMOD			_MB(2,1,255,4,0)
-#define StMOG_CalcDeco				_MB(2,1,255,5,0)
-/* #define StMOG_Bottle				_MB(2,1,255,5,0) */
+
+#ifdef ENABLE_ADVANCED_GAS
+#define StMOG_Bottle				_MB(2,1,255,5,0)
+#endif
 
 #define StMOG_MOD					_MB(2,1,255,9,0)