diff Common/Inc/data_central.h @ 857:ba1aebc6d5af Evo_2_23

Developer feature debug warning: The debug warnings are only available to developers who activate the feature via compile switch. After that it is possible to define a condition and a content of a warning which will be shown if a special situation occure (visualized in the main view as already done for other warnings like ppo2). In the first implementation details regarding the error state of the DiveO2 will be shown in case the sensor reports a problem. Feel free to change the implementation in case you want to observe another behavior.
author Ideenmodellierer
date Sun, 05 May 2024 17:27:28 +0200
parents c3dd461ca3f9
children db92692c014f
line wrap: on
line diff
--- a/Common/Inc/data_central.h	Sun May 05 17:20:56 2024 +0200
+++ b/Common/Inc/data_central.h	Sun May 05 17:27:28 2024 +0200
@@ -276,6 +276,9 @@
 #ifdef ENABLE_BOTTLE_SENSOR
 	int8_t newPressure;
 #endif
+#ifdef HAVE_DEBUG_WARNINGS
+	int8_t debug;
+#endif
 } SWarnings;