verbose trigger sync should reuse engineSnifferRpmThreshold fix #4259

This commit is contained in:
rusefi 2022-06-18 15:18:45 -04:00
parent cbd85f54c4
commit 271dddf61e
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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);