diff Discovery/Src/tMenuEditHardware.c @ 842:c3dd461ca3f9 Evo_2_23

Migrated Sentinel protocol to new UART structure: The Sentinel protocol had not been migrated to the new UART structure which was introduced with the introduction of the UART MUX. The Sentinel is now supported by autodetection again (development version only)
author Ideenmodellierer
date Mon, 15 Jan 2024 21:44:18 +0100
parents ffb1036c27c2
children fce639612464
line wrap: on
line diff
--- a/Discovery/Src/tMenuEditHardware.c	Sun Jan 07 21:25:34 2024 +0100
+++ b/Discovery/Src/tMenuEditHardware.c	Mon Jan 15 21:44:18 2024 +0100
@@ -419,7 +419,8 @@
 					case SENSOR_CO2M:	pSettings->co2_sensor_active = 1;
 						break;
 #ifdef ENABLE_SENTINEL_MODE
-					case SENSOR_SENTINEL:	pSettings->ppo2sensors_source = O2_SENSOR_SOURCE_SENTINEL;
+					case SENSOR_SENTINEL:
+					case SENSOR_SENTINELM:	pSettings->ppo2sensors_source = O2_SENSOR_SOURCE_SENTINEL;
 									break;
 #endif
 					default:
@@ -465,7 +466,8 @@
 				case SENSOR_CO2M: strSensorId[3] = 'C';
 								 strSensorId[4] = 'O';
 								break;
-				case SENSOR_SENTINEL: strSensorId[3] = 'S';
+				case SENSOR_SENTINEL:
+				case SENSOR_SENTINELM: strSensorId[3] = 'S';
 				 	 	 	 	 	  strSensorId[4] = 'e';
 				 	 	 	 	break;
 				default: