From e75a1bc1a1d7ecc1ae0e87ba91205078551583c8 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Sat, 17 Dec 2022 18:26:38 -0500 Subject: [PATCH] guards --- firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp b/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp index 076c16933f..bf33f76faf 100644 --- a/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp +++ b/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp @@ -146,7 +146,7 @@ void HpfpController::onFastCallback() { m_requested_pump = 0; m_deadtime = 0; } else { -#if EFI_PROD_CODE +#if EFI_PROD_CODE && EFI_SHAFT_POSITION_INPUT efiAssertVoid(OBD_PCM_Processor_Fault, engine->triggerCentral.triggerShape.getSize() > engineConfiguration->hpfpCamLobes * 6, "Too few trigger tooth for this number of HPFP lobes"); #endif // EFI_PROD_CODE // Convert deadtime from ms to degrees based on current RPM