Tested fix for dual wheel cranking issue

This commit is contained in:
Josh Stewart 2016-05-09 10:18:05 +10:00
parent c0a033a3a4
commit 27a34a8fb9
1 changed files with 2 additions and 2 deletions

View File

@ -208,8 +208,8 @@ void triggerSec_DualWheel()
{
toothCurrentCount = 0;
toothOneTime = micros();
toothOneMinusOneTime = toothOneTime - 6000000; //Fixes RPM at 10rpm until a full revolution has taken place
toothLastToothTime = micros();
toothLastMinusOneToothTime = (toothOneTime - 6000000) / configPage2.triggerTeeth; //Fixes RPM at 10rpm until a full revolution has taken place
currentStatus.hasSync = true;
}