Skip to content
Permalink
Browse files

Simplified Nissan 360 6cyl version for testing

  • Loading branch information
noisymime committed Sep 4, 2018
1 parent ec516f5 commit 5792cd103cb03bc55158ce90f71ee9f127357b0e
Showing with 3 additions and 8 deletions.
  1. +3 −8 speeduino/decoders.ino
@@ -2184,14 +2184,9 @@ void triggerSec_Nissan360()
else if(configPage2.nCylinders == 6)
{
//Pattern on the 6 cylinders is 4-8-12-16-20-24
if( (secondaryDuration >= 15) && (secondaryDuration <= 17) ) //Duration of window = 16 primary teeth
{
toothCurrentCount = 136; //End of third window is after 60+60+16 primary teeth
currentStatus.hasSync = true;
}
else if( (secondaryDuration >= 3) && (secondaryDuration <= 5) ) //Duration of window = 4 primary teeth
if( (secondaryDuration >= 3) && (secondaryDuration <= 5) ) //Duration of window = 4 primary teeth
{
toothCurrentCount = 304; //End of sixth window is after 60+60+60+60+60+4 primary teeth
toothCurrentCount = 124; //End of smallest window is after 60+60+4 primary teeth
currentStatus.hasSync = true;
}
}
@@ -2223,7 +2218,7 @@ void triggerSec_Nissan360()
{
if(secondaryDuration == 4)
{
toothCurrentCount = 304;
//toothCurrentCount = 304;
}
} //Cylinder count
} //use resync

0 comments on commit 5792cd1

Please sign in to comment.
You can’t perform that action at this time.