happy new year nissan!

This commit is contained in:
rusEfi 2018-01-01 22:24:33 -05:00
parent e40ca12d2e
commit 3b8ab4f6a7
2 changed files with 6 additions and 6 deletions

View File

@ -21,7 +21,7 @@ static void initializeNissanSR20VE_4_optional_360(TriggerShape *s, bool with2nd
s->tdcPosition = 630; s->tdcPosition = 630;
float w = 5; float width = 4;
s->setTriggerSynchronizationGap2(9.67 * 0.75, 16); s->setTriggerSynchronizationGap2(9.67 * 0.75, 16);
float left = 0; float left = 0;
@ -30,7 +30,7 @@ static void initializeNissanSR20VE_4_optional_360(TriggerShape *s, bool with2nd
int total = 360; // 360 on cam, over 720 crank degree int total = 360; // 360 on cam, over 720 crank degree
float base = 180; float base = 180;
right = base - 15; right = base - 4 * width;
if (with2nd) { if (with2nd) {
addSkippedToothTriggerEvents(T_SECONDARY, s, total, 0, 0.5, 0, 720, addSkippedToothTriggerEvents(T_SECONDARY, s, total, 0, 0.5, 0, 720,
@ -52,7 +52,7 @@ static void initializeNissanSR20VE_4_optional_360(TriggerShape *s, bool with2nd
base += 180; base += 180;
left = right; left = right;
right = base - w; right = base - width;
if (with2nd) { if (with2nd) {
// addSkippedToothTriggerEvents(T_SECONDARY, s, total, 0, 0.5, 0, 720, // addSkippedToothTriggerEvents(T_SECONDARY, s, total, 0, 0.5, 0, 720,
// left, right PASS_ENGINE_PARAMETER_SUFFIX); // left, right PASS_ENGINE_PARAMETER_SUFFIX);
@ -69,7 +69,7 @@ static void initializeNissanSR20VE_4_optional_360(TriggerShape *s, bool with2nd
base += 180; base += 180;
left = right; left = right;
right = base - w; right = base - width;
if (with2nd) { if (with2nd) {
// addSkippedToothTriggerEvents(T_SECONDARY, s, total, 0, 0.5, 0, 720, // addSkippedToothTriggerEvents(T_SECONDARY, s, total, 0, 0.5, 0, 720,
// left, right PASS_ENGINE_PARAMETER_SUFFIX); // left, right PASS_ENGINE_PARAMETER_SUFFIX);
@ -86,7 +86,7 @@ static void initializeNissanSR20VE_4_optional_360(TriggerShape *s, bool with2nd
base += 180; base += 180;
left = right; left = right;
right = base - w; right = base - width;
s->addEvent2(right, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER_SUFFIX); s->addEvent2(right, T_PRIMARY, TV_RISE PASS_ENGINE_PARAMETER_SUFFIX);
left = right; left = right;

View File

@ -263,5 +263,5 @@ int getRusEfiVersion(void) {
if (initBootloader() != 0) if (initBootloader() != 0)
return 123; return 123;
#endif /* EFI_BOOTLOADER_INCLUDE_CODE */ #endif /* EFI_BOOTLOADER_INCLUDE_CODE */
return 20171227; return 20180101;
} }