diff Small_CPU/Inc/externalInterface.h @ 742:e23fe82cbf8c

Update Sentinel protocol: The Sentinel protocol is now supported by autodetection. Added Autodetection indicator: In the previous version no indicator showed that an auto detection is running. A new pseudo sensor type has been introduced which now causes the auto detection string to be displayed while the detection is running in the background.
author Ideenmodellierer
date Sun, 19 Feb 2023 21:43:24 +0100
parents 30717de00f3a
children 0b5f45448eb6
line wrap: on
line diff
--- a/Small_CPU/Inc/externalInterface.h	Thu Feb 02 17:35:54 2023 +0100
+++ b/Small_CPU/Inc/externalInterface.h	Sun Feb 19 21:43:24 2023 +0100
@@ -28,6 +28,8 @@
 #endif
 
 /* Includes ------------------------------------------------------------------*/
+#include "configuration.h"
+
 
 #define MAX_ADC_CHANNEL		(3u)		/* number of channels to be read */
 #define EXTERNAL_ADC_NO_DATA	0xFF
@@ -45,7 +47,13 @@
 	DETECTION_ANALOG1,		/* check ADC channels for connected sensors */
 	DETECTION_ANALOG2,
 	DETECTION_DIGO2,		/* check UART channel for connected DigO2 sensor */
+#ifdef ENABLE_CO2_SUPPORT
 	DETECTION_CO2,			/* check UART channel for connected CO2 sensor */
+#endif
+#ifdef ENABLE_SENTINEL_MODE
+	DETECTION_SENTINEL,		/* check UART channel for connected Sentinel */
+	DETECTION_SENTINEL2,
+#endif
 	DETECTION_DONE
  } externalInterfaceAutoDetect_t;