mirror of https://github.com/rusefi/speeduino.git
Change for Jeep 2000 trigger to work correctly with cam tooth
This commit is contained in:
parent
d992eb405a
commit
4b84e8bab8
|
@ -336,7 +336,7 @@ void setup()
|
||||||
|
|
||||||
if(configPage2.TrigEdge == 0) { attachInterrupt(triggerInterrupt, trigger, RISING); } // Attach the crank trigger wheel interrupt (Hall sensor drags to ground when triggering)
|
if(configPage2.TrigEdge == 0) { attachInterrupt(triggerInterrupt, trigger, RISING); } // Attach the crank trigger wheel interrupt (Hall sensor drags to ground when triggering)
|
||||||
else { attachInterrupt(triggerInterrupt, trigger, FALLING); } // Primary trigger connects to
|
else { attachInterrupt(triggerInterrupt, trigger, FALLING); } // Primary trigger connects to
|
||||||
attachInterrupt(triggerInterrupt2, triggerSec_Jeep2000, RISING);
|
attachInterrupt(triggerInterrupt2, triggerSec_Jeep2000, CHANGE);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue