mirror of https://github.com/rusefi/rusefi-1.git
verbose trigger sync should reuse engineSnifferRpmThreshold fix #4259
This commit is contained in:
parent
cbd85f54c4
commit
271dddf61e
|
@ -24,6 +24,7 @@ Release template (copy/paste this for new release):
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
- verbose trigger sync should reuse engineSnifferRpmThreshold #4259
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Improved logic used to disambiguate trigger sync using cam/VVT information. Engine now runs in wasted spark until cam sync is achieved, at which point it switches to fully sequential. #4099
|
- Improved logic used to disambiguate trigger sync using cam/VVT information. Engine now runs in wasted spark until cam sync is achieved, at which point it switches to fully sequential. #4099
|
||||||
|
|
|
@ -559,7 +559,9 @@ expected<TriggerDecodeResult> TriggerDecoderBase::decodeTriggerEvent(
|
||||||
#endif /* EFI_UNIT_TEST */
|
#endif /* EFI_UNIT_TEST */
|
||||||
|
|
||||||
#if EFI_PROD_CODE || EFI_SIMULATOR
|
#if EFI_PROD_CODE || EFI_SIMULATOR
|
||||||
if (triggerConfiguration.VerboseTriggerSynchDetails || (someSortOfTriggerError() && !silentTriggerError)) {
|
bool verbose = engine->isEngineSnifferEnabled && triggerConfiguration.VerboseTriggerSynchDetails;
|
||||||
|
|
||||||
|
if (verbose || (someSortOfTriggerError() && !silentTriggerError)) {
|
||||||
|
|
||||||
int rpm = Sensor::getOrZero(SensorType::Rpm);
|
int rpm = Sensor::getOrZero(SensorType::Rpm);
|
||||||
floatms_t engineCycleDuration = getEngineCycleDuration(rpm);
|
floatms_t engineCycleDuration = getEngineCycleDuration(rpm);
|
||||||
|
|
Loading…
Reference in New Issue