This commit is contained in:
rusefillc 2020-10-28 00:07:34 -04:00
parent d5c929f5ba
commit ae5f0a80a4
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ static void configureFluidPressure(LinearFunc& func, const linear_sensor_s& cfg)
func.configure(cfg.v1, val1, cfg.v2, val2, /*minOutput*/ -5, greaterOutput);
}
/**
* @param bandwidth Hertz, used by low pass filter in to analog subscribers
*/
static void initFluidPressure(LinearFunc& func, FunctionalSensor& sensor, const linear_sensor_s& cfg, float bandwidth) {
auto channel = cfg.hwChannel;