auto-sync
This commit is contained in:
parent
ac5beb892d
commit
1afc239f3b
|
@ -19,8 +19,6 @@ void setAlgorithm(engine_load_mode_e algo DECLARE_ENGINE_PARAMETER_S);
|
||||||
void findTriggerPosition(
|
void findTriggerPosition(
|
||||||
event_trigger_position_s *position, angle_t angleOffset DECLARE_ENGINE_PARAMETER_S);
|
event_trigger_position_s *position, angle_t angleOffset DECLARE_ENGINE_PARAMETER_S);
|
||||||
|
|
||||||
int isInjectionEnabled(engine_configuration_s *engineConfiguration);
|
|
||||||
|
|
||||||
void initializeIgnitionActions(angle_t advance, angle_t dwellAngle,
|
void initializeIgnitionActions(angle_t advance, angle_t dwellAngle,
|
||||||
IgnitionEventList *list DECLARE_ENGINE_PARAMETER_S);
|
IgnitionEventList *list DECLARE_ENGINE_PARAMETER_S);
|
||||||
|
|
||||||
|
|
|
@ -39,6 +39,7 @@
|
||||||
#include "efiGpio.h"
|
#include "efiGpio.h"
|
||||||
#include "engine_math.h"
|
#include "engine_math.h"
|
||||||
#include "trigger_central.h"
|
#include "trigger_central.h"
|
||||||
|
#include "spark_logic.h"
|
||||||
#include "rpm_calculator.h"
|
#include "rpm_calculator.h"
|
||||||
#include "signal_executor.h"
|
#include "signal_executor.h"
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
/*
|
||||||
|
* @file spark_logic.cpp
|
||||||
|
*
|
||||||
|
* @date Sep 15, 2016
|
||||||
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
/*
|
||||||
|
* @file spark_logic.h
|
||||||
|
*
|
||||||
|
* @date Sep 15, 2016
|
||||||
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef CONTROLLERS_TRIGGER_SPARK_LOGIC_H_
|
||||||
|
#define CONTROLLERS_TRIGGER_SPARK_LOGIC_H_
|
||||||
|
|
||||||
|
#include "engine.h"
|
||||||
|
|
||||||
|
int isInjectionEnabled(engine_configuration_s *engineConfiguration);
|
||||||
|
|
||||||
|
#endif /* CONTROLLERS_TRIGGER_SPARK_LOGIC_H_ */
|
|
@ -20,4 +20,5 @@ TRIGGER_SRC_CPP = \
|
||||||
$(PROJECT_DIR)/controllers/trigger/trigger_emulator_algo.cpp \
|
$(PROJECT_DIR)/controllers/trigger/trigger_emulator_algo.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/rpm_calculator.cpp \
|
$(PROJECT_DIR)/controllers/trigger/rpm_calculator.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/trigger_central.cpp \
|
$(PROJECT_DIR)/controllers/trigger/trigger_central.cpp \
|
||||||
|
$(PROJECT_DIR)/controllers/trigger/spark_logic.cpp \
|
||||||
$(PROJECT_DIR)/controllers/trigger/main_trigger_callback.cpp
|
$(PROJECT_DIR)/controllers/trigger/main_trigger_callback.cpp
|
||||||
|
|
Loading…
Reference in New Issue