|
|
|
@ -266,12 +266,12 @@ private:
@@ -266,12 +266,12 @@ private:
|
|
|
|
|
// returns 0 if the sensor is not enabled
|
|
|
|
|
float get_pressure(uint8_t i); |
|
|
|
|
|
|
|
|
|
// get the failure health probability
|
|
|
|
|
float get_health_failure_probability(uint8_t i) const { |
|
|
|
|
// get the health probability
|
|
|
|
|
float get_health_probability(uint8_t i) const { |
|
|
|
|
return state[i].failures.health_probability; |
|
|
|
|
} |
|
|
|
|
float get_health_failure_probability(void) const { |
|
|
|
|
return get_health_failure_probability(primary); |
|
|
|
|
float get_health_probability(void) const { |
|
|
|
|
return get_health_probability(primary); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void update_calibration(uint8_t i, float raw_pressure); |
|
|
|
|