what's the difference between setRpmValue and assignRpmValue #3815
refactoring
This commit is contained in:
parent
a851b04fdb
commit
5f788415ea
|
@ -83,9 +83,7 @@ RpmCalculator::RpmCalculator() :
|
||||||
#if !EFI_PROD_CODE
|
#if !EFI_PROD_CODE
|
||||||
mockRpm = MOCK_UNDEFINED;
|
mockRpm = MOCK_UNDEFINED;
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
// todo: reuse assignRpmValue() method which needs
|
assignRpmValue(0);
|
||||||
// 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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue