Allow negative differential pressure if parameter enabled (#24434)

This commit is contained in:
Andy Wheatley
2025-03-24 09:42:36 +01:00
committed by GitHub
parent fdebdc447d
commit ca2ed655b8
10 changed files with 85 additions and 2 deletions
+12
View File
@@ -87,6 +87,18 @@ PARAM_DEFINE_FLOAT(CAL_AIR_TUBED_MM, 1.5f);
*/
PARAM_DEFINE_FLOAT(SENS_DPRES_OFF, 0.0f);
/**
* Reverse differential pressure sensor readings
*
* Reverse the raw measurements of all differential pressure sensors.
* This can be enabled if the sensors have static and dynamic ports swapped.
*
* @category system
* @group Sensor Calibration
* @boolean
*/
PARAM_DEFINE_INT32(SENS_DPRES_REV, 0);
/**
* Differential pressure sensor analog scaling
*