nissan 360/4

This commit is contained in:
rusefi 2017-03-22 22:53:10 -04:00
parent a878acf047
commit 8c6b998b18
4 changed files with 8 additions and 5 deletions

View File

@ -15,8 +15,6 @@
#include "engine_configuration.h"
void setNissanPrimeraEngineConfiguration(engine_configuration_s *engineConfiguration);
void setNissanPrimera360_4EngineConfiguration(engine_configuration_s *engineConfiguration);
#endif /* EFI_SUPPORT_NISSAN_PRIMERA */
#endif /* NISSAN_PRIMERA_H_ */

View File

@ -11,7 +11,7 @@
* Nissan Primera p11 year 1995-2002
*/
void initializeNissanSR20VE(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
void initializeNissanSR20VE_4(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
s->initialize(FOUR_STROKE_CAM_SENSOR, false);
s->isSynchronizationNeeded = true;
s->gapBothDirections = true;
@ -39,3 +39,7 @@ void initializeNissanSR20VE(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
s->addEvent2(base - w, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER);
s->addEvent2(base, T_PRIMARY, TV_FALL PASS_ENGINE_PARAMETER);
}
void initializeNissanSR20VE_4_360(TriggerShape *s DECLARE_ENGINE_PARAMETER_S) {
}

View File

@ -10,6 +10,7 @@
#include "trigger_structure.h"
void initializeNissanSR20VE(TriggerShape *s DECLARE_ENGINE_PARAMETER_S);
void initializeNissanSR20VE_4(TriggerShape *s DECLARE_ENGINE_PARAMETER_S);
void initializeNissanSR20VE_4_360(TriggerShape *s DECLARE_ENGINE_PARAMETER_S);
#endif /* CONTROLLERS_TRIGGER_TRIGGER_NISSAN_H_ */

View File

@ -635,7 +635,7 @@ void TriggerShape::initializeTriggerShape(Logging *logger DECLARE_ENGINE_PARAMET
case TT_NISSAN_SR20VE:
case TT_TEMP_WIP:
initializeNissanSR20VE(this PASS_ENGINE_PARAMETER);
initializeNissanSR20VE_4(this PASS_ENGINE_PARAMETER);
break;
case TT_ROVER_K: