mirror of https://github.com/FOME-Tech/fome-fw.git
This commit is contained in:
parent
9568bba319
commit
2ba347d81e
|
@ -7,7 +7,7 @@
|
|||
#ifndef TRIGGER_BMW_H_
|
||||
#define TRIGGER_BMW_H_
|
||||
|
||||
#include "engine.h"
|
||||
#include "trigger_decoder.h"
|
||||
|
||||
void configureMiniCooperTriggerShape(TriggerShape *s);
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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_ */
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue