Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
This commit is contained in:
parent
d0b2ce5654
commit
2de0409061
|
@ -164,7 +164,7 @@ void TpsAccelEnrichment::onEngineCycleTps(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||||
// it's an infinitely convergent series, so we set a limit at some point
|
// it's an infinitely convergent series, so we set a limit at some point
|
||||||
// (also make sure that accumulatedValue is positive, for safety)
|
// (also make sure that accumulatedValue is positive, for safety)
|
||||||
static const floatms_t smallEpsilon = 0.001f;
|
static const floatms_t smallEpsilon = 0.001f;
|
||||||
belowEpsilon = accumulatedValue < smallEpsilon
|
belowEpsilon = accumulatedValue < smallEpsilon;
|
||||||
if (belowEpsilon) {
|
if (belowEpsilon) {
|
||||||
accumulatedValue = 0;
|
accumulatedValue = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue