diff 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
line wrap: on
line diff
--- a/Discovery/Inc/tCCR.h	Sun Nov 15 19:58:14 2020 +0100
+++ b/Discovery/Inc/tCCR.h	Sun Nov 15 20:01:56 2020 +0100
@@ -44,6 +44,6 @@
 float get_sensorVoltage_mV(uint8_t sensor_id);
 float get_HUD_battery_voltage_V(void);
 uint8_t get_ppO2SensorWeightedResult_cbar(void);
-void test_HUD_sensor_values_outOfBounds(int8_t * outOfBouds1, int8_t * outOfBouds2, int8_t * outOfBouds3);
+void test_O2_sensor_values_outOfBounds(int8_t * outOfBouds1, int8_t * outOfBouds2, int8_t * outOfBouds3);
 
 #endif /* TCCR_H */