This commit is contained in:
rusefillc 2020-11-09 22:53:23 -05:00
parent 414ebbc46d
commit 896a55d78e
4 changed files with 10 additions and 0 deletions

View File

@ -64,6 +64,8 @@
#define EFI_POTENTIOMETER FALSE
// MC33816 Programmable Gate Driver over SPI
#define EFI_MC33816 FALSE
#define EFI_HPFP FALSE
// MAX31855 Thermocouple interface over SPI
#define EFI_MAX_31855 FALSE
// MCP3208 ADC over SPI

View File

@ -31,6 +31,8 @@
#define EFI_MC33816 TRUE
#define EFI_HPFP TRUE
#define HAL_USE_USB_MSD FALSE
#define EFI_ENABLE_CRITICAL_ENGINE_STOP TRUE

View File

@ -625,7 +625,9 @@ void commonInitEngineController(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_S
*/
initSparkLogic(sharedLogger);
initMainEventListener(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
#dif EFI_HPFP
initHPFP(PASS_ENGINE_PARAMETER_SIGNATURE);
#endif // EFI_HPFP
}
#endif /* EFI_ENGINE_CONTROL */

View File

@ -11,6 +11,8 @@
#include "high_pressure_fuel_pump.h"
#include "spark_logic.h"
#if EFI_HPFP
EXTERN_ENGINE
;
@ -73,3 +75,5 @@ void initHPFP(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
handle(actor);
}
}
#endif // EFI_HPFP