auto-sync
This commit is contained in:
parent
38ffcbc03a
commit
04ec8171da
|
@ -18,7 +18,7 @@
|
||||||
#include "thermistors.h"
|
#include "thermistors.h"
|
||||||
#include "engine_math.h"
|
#include "engine_math.h"
|
||||||
|
|
||||||
void setDodgeNeonEngineConfiguration(engine_configuration_s *engineConfiguration,
|
void setDodgeNeon1995EngineConfiguration(engine_configuration_s *engineConfiguration,
|
||||||
board_configuration_s *boardConfiguration) {
|
board_configuration_s *boardConfiguration) {
|
||||||
|
|
||||||
engineConfiguration->triggerConfig.triggerType = TT_DODGE_NEON_1995;
|
engineConfiguration->triggerConfig.triggerType = TT_DODGE_NEON_1995;
|
||||||
|
@ -104,5 +104,11 @@ void setDodgeNeonEngineConfiguration(engine_configuration_s *engineConfiguration
|
||||||
engineConfiguration->analogChartFrequency = 7;
|
engineConfiguration->analogChartFrequency = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfiguration,
|
||||||
|
board_configuration_s *boardConfiguration) {
|
||||||
|
engineConfiguration->triggerConfig.triggerType = TT_DODGE_NEON_2003;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* EFI_SUPPORT_DODGE_NEON */
|
#endif /* EFI_SUPPORT_DODGE_NEON */
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,10 @@
|
||||||
|
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
|
|
||||||
void setDodgeNeonEngineConfiguration(engine_configuration_s *engineConfiguration,
|
void setDodgeNeon1995EngineConfiguration(engine_configuration_s *engineConfiguration,
|
||||||
|
board_configuration_s *boardConfiguration);
|
||||||
|
|
||||||
|
void setDodgeNeonNGCEngineConfiguration(engine_configuration_s *engineConfiguration,
|
||||||
board_configuration_s *boardConfiguration);
|
board_configuration_s *boardConfiguration);
|
||||||
|
|
||||||
#endif /* EFI_SUPPORT_DODGE_NEON */
|
#endif /* EFI_SUPPORT_DODGE_NEON */
|
||||||
|
|
|
@ -414,7 +414,10 @@ void resetConfigurationExt(Logging * logger, engine_type_e engineType, engine_co
|
||||||
switch (engineType) {
|
switch (engineType) {
|
||||||
#if EFI_SUPPORT_DODGE_NEON || defined(__DOXYGEN__)
|
#if EFI_SUPPORT_DODGE_NEON || defined(__DOXYGEN__)
|
||||||
case DODGE_NEON_1995:
|
case DODGE_NEON_1995:
|
||||||
setDodgeNeonEngineConfiguration(engineConfiguration, boardConfiguration);
|
setDodgeNeon1995EngineConfiguration(engineConfiguration, boardConfiguration);
|
||||||
|
break;
|
||||||
|
case DODGE_NEON_2003:
|
||||||
|
setDodgeNeonNGCEngineConfiguration(engineConfiguration, boardConfiguration);
|
||||||
break;
|
break;
|
||||||
#endif /* EFI_SUPPORT_DODGE_NEON */
|
#endif /* EFI_SUPPORT_DODGE_NEON */
|
||||||
#if EFI_SUPPORT_FORD_ASPIRE || defined(__DOXYGEN__)
|
#if EFI_SUPPORT_FORD_ASPIRE || defined(__DOXYGEN__)
|
||||||
|
|
|
@ -16,7 +16,9 @@ const char* getConfigurationName(engine_type_e engineType) {
|
||||||
switch (engineType) {
|
switch (engineType) {
|
||||||
#if EFI_SUPPORT_DODGE_NEON
|
#if EFI_SUPPORT_DODGE_NEON
|
||||||
case DODGE_NEON_1995:
|
case DODGE_NEON_1995:
|
||||||
return "Dodge Neon";
|
return "Neon 1995";
|
||||||
|
case DODGE_NEON_2003:
|
||||||
|
return "Neon 2003";
|
||||||
#endif /* EFI_SUPPORT_DODGE_NEON */
|
#endif /* EFI_SUPPORT_DODGE_NEON */
|
||||||
#if EFI_SUPPORT_FORD_ASPIRE
|
#if EFI_SUPPORT_FORD_ASPIRE
|
||||||
case FORD_ASPIRE_1996:
|
case FORD_ASPIRE_1996:
|
||||||
|
|
|
@ -7,7 +7,12 @@
|
||||||
|
|
||||||
#include "trigger_chrysler.h"
|
#include "trigger_chrysler.h"
|
||||||
|
|
||||||
void configureNeonTriggerShape(trigger_shape_s *s) {
|
void configureNeon2003TriggerShape(trigger_shape_s *s) {
|
||||||
|
s->reset(FOUR_STROKE_CAM_SENSOR);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void configureNeon1995TriggerShape(trigger_shape_s *s) {
|
||||||
s->reset(FOUR_STROKE_CAM_SENSOR);
|
s->reset(FOUR_STROKE_CAM_SENSOR);
|
||||||
|
|
||||||
setTriggerSynchronizationGap(s, 0.72);
|
setTriggerSynchronizationGap(s, 0.72);
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
|
|
||||||
#include "trigger_structure.h"
|
#include "trigger_structure.h"
|
||||||
|
|
||||||
void configureNeonTriggerShape(trigger_shape_s *s);
|
void configureNeon1995TriggerShape(trigger_shape_s *s);
|
||||||
|
void configureNeon2003TriggerShape(trigger_shape_s *s);
|
||||||
|
|
||||||
#endif /* TRIGGER_CHRYSLER_H_ */
|
#endif /* TRIGGER_CHRYSLER_H_ */
|
||||||
|
|
|
@ -209,7 +209,11 @@ void initializeTriggerShape(Logging *logger, engine_configuration_s const *engin
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case TT_DODGE_NEON_1995:
|
case TT_DODGE_NEON_1995:
|
||||||
configureNeonTriggerShape(triggerShape);
|
configureNeon1995TriggerShape(triggerShape);
|
||||||
|
return;
|
||||||
|
|
||||||
|
case TT_DODGE_NEON_2003:
|
||||||
|
configureNeon2003TriggerShape(triggerShape);
|
||||||
return;
|
return;
|
||||||
|
|
||||||
case TT_FORD_ASPIRE:
|
case TT_FORD_ASPIRE:
|
||||||
|
|
|
@ -241,5 +241,5 @@ void firmwareError(const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getRusEfiVersion(void) {
|
int getRusEfiVersion(void) {
|
||||||
return 20140928;
|
return 20141001;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue