From 1f3980f10cc79ef10dc077d7778cac601afb5415 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 18 Jun 2022 14:44:10 -0400 Subject: [PATCH] verbose trigger sync should reuse engineSnifferRpmThreshold #4259 this should work faster? --- firmware/console/binary/tooth_logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/console/binary/tooth_logger.cpp b/firmware/console/binary/tooth_logger.cpp index ff487f7f29..7b5096164e 100644 --- a/firmware/console/binary/tooth_logger.cpp +++ b/firmware/console/binary/tooth_logger.cpp @@ -113,7 +113,7 @@ void LogTriggerTooth(trigger_event_e tooth, efitick_t timestamp) { } // Don't log at significant engine speed - if (Sensor::getOrZero(SensorType::Rpm) > engineConfiguration->engineSnifferRpmThreshold) { + if (!engine->isEngineSnifferEnabled) { return; }