slow down fuel level (#2505)
This commit is contained in:
parent
8b3aa6c40d
commit
24b18ad9ee
|
@ -30,7 +30,9 @@ void initFuelLevel(DECLARE_CONFIG_PARAMETER_SIGNATURE) {
|
|||
}
|
||||
|
||||
fuelSensor.setFunction(fuelCurve);
|
||||
AdcSubscription::SubscribeSensor(fuelSensor, channel, /*lowpassCutoff =*/ 1);
|
||||
|
||||
// Filtering with such a small bandwidth helps prevent noisy data from fuel tank slosh
|
||||
AdcSubscription::SubscribeSensor(fuelSensor, channel, /*lowpassCutoff =*/ 0.05f);
|
||||
fuelSensor.Register();
|
||||
}
|
||||
#endif // ! EFI_UNIT_TEST
|
||||
|
|
Loading…
Reference in New Issue