This commit is contained in:
rusefi 2018-12-25 20:56:54 -05:00
parent 22734e8f39
commit d51fa71085
16 changed files with 21 additions and 24 deletions

View File

@ -7,7 +7,7 @@
#ifndef TRIGGER_BMW_H_
#define TRIGGER_BMW_H_
#include "engine.h"
#include "trigger_decoder.h"
void configureMiniCooperTriggerShape(TriggerShape *s);

View File

@ -8,7 +8,7 @@
#ifndef TRIGGER_CHRYSLER_H_
#define TRIGGER_CHRYSLER_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
#define CHRYSLER_NGC4_GAP 1
#define CHRYSLER_NGC6_GAP 1.5

View File

@ -8,7 +8,7 @@
#ifndef TRIGGER_GM_H_
#define TRIGGER_GM_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
void configureGmTriggerShape(TriggerShape *s);
void initGmLS24(TriggerShape *s);

View File

@ -8,7 +8,7 @@
#ifndef CONTROLLERS_TRIGGER_TRIGGER_HONDA_H_
#define CONTROLLERS_TRIGGER_TRIGGER_HONDA_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
void configureHondaAccordCDDip(TriggerShape *s);
void configureHondaAccordShifted(TriggerShape *s);

View File

@ -8,8 +8,7 @@
#ifndef TRIGGER_MAZDA_H_
#define TRIGGER_MAZDA_H_
#include "trigger_structure.h"
#include "engine.h"
#include "trigger_decoder.h"
#define MIATA_NA_GAP 1.4930f

View File

@ -8,7 +8,7 @@
#include "trigger_misc.h"
// TT_FIAT_IAW_P8
void configureFiatIAQ_P8(TriggerShape * s DECLARE_ENGINE_PARAMETER_SUFFIX) {
void configureFiatIAQ_P8(TriggerShape * s) {
s->initialize(FOUR_STROKE_CAM_SENSOR, false);
s->isSynchronizationNeeded = true;

View File

@ -8,8 +8,8 @@
#ifndef CONTROLLERS_TRIGGER_DECODERS_TRIGGER_MISC_H_
#define CONTROLLERS_TRIGGER_DECODERS_TRIGGER_MISC_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
void configureFiatIAQ_P8(TriggerShape * s DECLARE_ENGINE_PARAMETER_SUFFIX);
void configureFiatIAQ_P8(TriggerShape * s);
#endif /* CONTROLLERS_TRIGGER_DECODERS_TRIGGER_MISC_H_ */

View File

@ -31,7 +31,7 @@ void configureFordAspireTriggerShape(TriggerShape * s) {
/**
* TT_MITSUBISHI = 11
*/
void initializeMitsubishi4g18(TriggerShape *s DECLARE_ENGINE_PARAMETER_SUFFIX) {
void initializeMitsubishi4g18(TriggerShape *s) {
s->initialize(FOUR_STROKE_CAM_SENSOR, true);
s->useRiseEdge = false;

View File

@ -7,9 +7,9 @@
#ifndef TRIGGER_MITSUBISHI_H_
#define TRIGGER_MITSUBISHI_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
void initializeMitsubishi4g18(TriggerShape *s DECLARE_ENGINE_PARAMETER_SUFFIX);
void initializeMitsubishi4g18(TriggerShape *s);
void configureFordAspireTriggerShape(TriggerShape * s);
#endif /* TRIGGER_MITSUBISHI_H_ */

View File

@ -8,7 +8,7 @@
#ifndef CONTROLLERS_TRIGGER_TRIGGER_NISSAN_H_
#define CONTROLLERS_TRIGGER_TRIGGER_NISSAN_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
void initializeNissanSR20VE_4(TriggerShape *s);
void initializeNissanSR20VE_4_360(TriggerShape *s);

View File

@ -9,7 +9,7 @@
#ifndef CONTROLLERS_TRIGGER_TRIGGER_ROVER_H_
#define CONTROLLERS_TRIGGER_TRIGGER_ROVER_H_
#include "trigger_structure.h"
#include "trigger_decoder.h"
void initializeRoverK(TriggerShape *s);

View File

@ -8,7 +8,7 @@
#ifndef CONTROLLERS_TRIGGER_TRIGGER_SUBARU_H_
#define CONTROLLERS_TRIGGER_TRIGGER_SUBARU_H_
#include "engine.h"
#include "trigger_decoder.h"
void initialize36_2_2_2(TriggerShape *s);
void initializeSubaru7_6(TriggerShape *s);

View File

@ -9,9 +9,7 @@
#ifndef CONTROLLERS_TRIGGER_DECODERS_TRIGGER_UNIVERSAL_H_
#define CONTROLLERS_TRIGGER_DECODERS_TRIGGER_UNIVERSAL_H_
#include "global.h"
#include "trigger_structure.h"
#include "engine_configuration.h"
#include "trigger_decoder.h"
#define NO_LEFT_FILTER -1
#define NO_RIGHT_FILTER 1000

View File

@ -8,7 +8,7 @@
#include "trigger_vw.h"
#include "trigger_universal.h"
void setVwConfiguration(TriggerShape *s DECLARE_ENGINE_PARAMETER_SUFFIX) {
void setVwConfiguration(TriggerShape *s) {
efiAssertVoid(CUSTOM_ERR_6660, s != NULL, "TriggerShape is NULL");
s->initialize(FOUR_STROKE_CRANK_SENSOR, false);

View File

@ -8,8 +8,8 @@
#ifndef CONTROLLERS_TRIGGER_DECODERS_TRIGGER_VW_H_
#define CONTROLLERS_TRIGGER_DECODERS_TRIGGER_VW_H_
#include "engine.h"
#include "trigger_decoder.h"
void setVwConfiguration(TriggerShape *s DECLARE_ENGINE_PARAMETER_SUFFIX);
void setVwConfiguration(TriggerShape *s);
#endif /* CONTROLLERS_TRIGGER_DECODERS_TRIGGER_VW_H_ */

View File

@ -579,7 +579,7 @@ void TriggerShape::initializeTriggerShape(Logging *logger, bool useOnlyRisingEdg
break;
case TT_60_2_VW:
setVwConfiguration(this PASS_ENGINE_PARAMETER_SUFFIX);
setVwConfiguration(this);
break;
case TT_TOOTHED_WHEEL_36_1:
@ -615,7 +615,7 @@ void TriggerShape::initializeTriggerShape(Logging *logger, bool useOnlyRisingEdg
break;
case TT_MITSUBISHI:
initializeMitsubishi4g18(this PASS_ENGINE_PARAMETER_SUFFIX);
initializeMitsubishi4g18(this);
break;
case TT_DODGE_RAM:
@ -659,7 +659,7 @@ void TriggerShape::initializeTriggerShape(Logging *logger, bool useOnlyRisingEdg
break;
case TT_FIAT_IAW_P8:
configureFiatIAQ_P8(this PASS_ENGINE_PARAMETER_SUFFIX);
configureFiatIAQ_P8(this);
break;
case TT_GM_LS_24: