From 2293634ffa8518a3019782adacd537d3d5a38fac Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 9 Nov 2020 22:33:48 -0500 Subject: [PATCH] GDI Epic #1448 --- .../controllers/engine_cycle/high_pressure_fuel_pump.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp b/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp index aa08241f73..ade9b99faf 100644 --- a/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp +++ b/firmware/controllers/engine_cycle/high_pressure_fuel_pump.cpp @@ -35,6 +35,11 @@ static void plainPinTurnOff(RegisteredNamedOutputPin *output) { void hpfpPlainPinTurnOn(HpfpActor *current); static void handle(HpfpActor *actor) { +#if EFI_UNIT_TEST + Engine *engine = actor->engine; + EXPAND_Engine; +#endif /* EFI_UNIT_TEST */ + scheduleOrQueue(&actor->open, TRIGGER_EVENT_UNDEFINED, getTimeNowNt(), actor->extra + CONFIG(tempHpfpStart), {hpfpPlainPinTurnOn, actor }