launch control #203

This commit is contained in:
rusefi 2020-03-23 20:44:34 -04:00
parent 31ef10fe1c
commit 43440afade
3 changed files with 23 additions and 2 deletions

View File

@ -12,6 +12,9 @@
#define EFI_GPIO_HARDWARE TRUE #define EFI_GPIO_HARDWARE TRUE
#define EFI_BOOST_CONTROL TRUE #define EFI_BOOST_CONTROL TRUE
#define EFI_LAUNCH_CONTROL FALSE
#define EFI_FSIO TRUE #define EFI_FSIO TRUE
#ifndef EFI_CDM_INTEGRATION #ifndef EFI_CDM_INTEGRATION

View File

@ -0,0 +1,12 @@
/*
* @file launch_control.h
*
* @date Mar 23, 2020
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#pragma once
#include "engine.h"
void initLaunchControl(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX);

View File

@ -53,6 +53,7 @@
#include "counter64.h" #include "counter64.h"
#include "perf_trace.h" #include "perf_trace.h"
#include "boost_control.h" #include "boost_control.h"
#include "launch_control.h"
#if EFI_SENSOR_CHART #if EFI_SENSOR_CHART
#include "sensor_chart.h" #include "sensor_chart.h"
@ -665,14 +666,19 @@ void initEngineContoller(Logging *sharedLogger DECLARE_ENGINE_PARAMETER_SUFFIX)
#if EFI_ALTERNATOR_CONTROL #if EFI_ALTERNATOR_CONTROL
initAlternatorCtrl(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX); initAlternatorCtrl(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
#endif #endif /* EFI_ALTERNATOR_CONTROL */
#if EFI_BOOST_CONTROL #if EFI_BOOST_CONTROL
initBoostCtrl(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX); initBoostCtrl(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
#endif /* EFI_BOOST_CONTROL */
#if EFI_LAUNCH_CONTROL
initLaunchControl(sharedLogger PASS_ENGINE_PARAMETER_SUFFIX);
#endif #endif
#if EFI_AUX_PID #if EFI_AUX_PID
initAuxPid(sharedLogger); initAuxPid(sharedLogger);
#endif #endif /* EFI_AUX_PID */
#if EFI_MALFUNCTION_INDICATOR #if EFI_MALFUNCTION_INDICATOR
initMalfunctionIndicator(); initMalfunctionIndicator();