what's the difference between setRpmValue and assignRpmValue #3815

refactoring
This commit is contained in:
Andrey 2022-01-20 21:48:18 -05:00
parent a851b04fdb
commit 5f788415ea
1 changed files with 1 additions and 3 deletions

View File

@ -83,9 +83,7 @@ RpmCalculator::RpmCalculator() :
#if !EFI_PROD_CODE
mockRpm = MOCK_UNDEFINED;
#endif /* EFI_PROD_CODE */
// todo: reuse assignRpmValue() method which needs
// which we cannot provide inside this parameter-less constructor. need a solution for this minor mess
setValidValue(0, 0); // 0 for current time since RPM sensor never times out
assignRpmValue(0);
}
/**