Have the missing tooth decoder use the cranking specific RPM calc
This commit is contained in:
parent
535756f656
commit
a106ea72ca
Binary file not shown.
Binary file not shown.
|
@ -150,6 +150,11 @@ void triggerSec_missingTooth()
|
|||
|
||||
int getRPM_missingTooth()
|
||||
{
|
||||
if( currentStatus.RPM < (unsigned int)(configPage2.crankRPM * 100) )
|
||||
{
|
||||
if(configPage2.TrigSpeed) { crankingGetRPM(configPage2.triggerTeeth/2); } //Account for cam speed
|
||||
else { return crankingGetRPM(configPage2.triggerTeeth); }
|
||||
}
|
||||
if(configPage2.TrigSpeed) { return (stdGetRPM() * 2); } //Account for cam speed
|
||||
return stdGetRPM();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue