diff --git a/decoders.ino b/decoders.ino index b9156bf..0b49959 100644 --- a/decoders.ino +++ b/decoders.ino @@ -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; }