comparison 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
comparison
equal deleted inserted replaced
841:70092f552f5a 842:c3dd461ca3f9
417 break; 417 break;
418 case SENSOR_CO2: 418 case SENSOR_CO2:
419 case SENSOR_CO2M: pSettings->co2_sensor_active = 1; 419 case SENSOR_CO2M: pSettings->co2_sensor_active = 1;
420 break; 420 break;
421 #ifdef ENABLE_SENTINEL_MODE 421 #ifdef ENABLE_SENTINEL_MODE
422 case SENSOR_SENTINEL: pSettings->ppo2sensors_source = O2_SENSOR_SOURCE_SENTINEL; 422 case SENSOR_SENTINEL:
423 case SENSOR_SENTINELM: pSettings->ppo2sensors_source = O2_SENSOR_SOURCE_SENTINEL;
423 break; 424 break;
424 #endif 425 #endif
425 default: 426 default:
426 break; 427 break;
427 } 428 }
463 break; 464 break;
464 case SENSOR_CO2: 465 case SENSOR_CO2:
465 case SENSOR_CO2M: strSensorId[3] = 'C'; 466 case SENSOR_CO2M: strSensorId[3] = 'C';
466 strSensorId[4] = 'O'; 467 strSensorId[4] = 'O';
467 break; 468 break;
468 case SENSOR_SENTINEL: strSensorId[3] = 'S'; 469 case SENSOR_SENTINEL:
470 case SENSOR_SENTINELM: strSensorId[3] = 'S';
469 strSensorId[4] = 'e'; 471 strSensorId[4] = 'e';
470 break; 472 break;
471 default: 473 default:
472 strSensorId[5] = 0; 474 strSensorId[5] = 0;
473 break; 475 break;