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:
Andrey 2021-10-30 22:24:43 -04:00
parent d0b2ce5654
commit 2de0409061
1 changed files with 1 additions and 1 deletions

View File

@ -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
// (also make sure that accumulatedValue is positive, for safety)
static const floatms_t smallEpsilon = 0.001f;
belowEpsilon = accumulatedValue < smallEpsilon
belowEpsilon = accumulatedValue < smallEpsilon;
if (belowEpsilon) {
accumulatedValue = 0;
}