comparison Discovery/Inc/tCCR.h @ 563:d97f0e395058

Refine o2 sensor diagnostic functions: Changed implementation to ignore connection errors if analog interface is selected. Because the HUD is using cBars, the code has been modified to be compatible with the Bar units provided by the analog interface. Behavior (outofbounds) should be identical to the previous implementation.
author Ideenmodellierer
date Sun, 15 Nov 2020 20:01:56 +0100
parents 37ee61f93124
children 64bf41faab83
comparison
equal deleted inserted replaced
562:ec76fa85009e 563:d97f0e395058
42 42
43 float get_ppO2Sensor_bar(uint8_t sensor_id); 43 float get_ppO2Sensor_bar(uint8_t sensor_id);
44 float get_sensorVoltage_mV(uint8_t sensor_id); 44 float get_sensorVoltage_mV(uint8_t sensor_id);
45 float get_HUD_battery_voltage_V(void); 45 float get_HUD_battery_voltage_V(void);
46 uint8_t get_ppO2SensorWeightedResult_cbar(void); 46 uint8_t get_ppO2SensorWeightedResult_cbar(void);
47 void test_HUD_sensor_values_outOfBounds(int8_t * outOfBouds1, int8_t * outOfBouds2, int8_t * outOfBouds3); 47 void test_O2_sensor_values_outOfBounds(int8_t * outOfBouds1, int8_t * outOfBouds2, int8_t * outOfBouds3);
48 48
49 #endif /* TCCR_H */ 49 #endif /* TCCR_H */