Fix regression that broke tacho sweep function. Fixes #1195
This commit is contained in:
parent
0c725bc6f8
commit
e2f1c67c78
|
@ -1349,7 +1349,7 @@ void initialiseAll(void)
|
|||
readTPS(false); // Need to read tps to detect flood clear state
|
||||
|
||||
/* tacho sweep function. */
|
||||
//tachoStatus.tachoSweepEnabled = (configPage2.useTachoSweep > 0);
|
||||
currentStatus.tachoSweepEnabled = (configPage2.useTachoSweep > 0);
|
||||
/* SweepMax is stored as a byte, RPM/100. divide by 60 to convert min to sec (net 5/3). Multiply by ignition pulses per rev.
|
||||
tachoSweepIncr is also the number of tach pulses per second */
|
||||
tachoSweepIncr = configPage2.tachoSweepMaxRPM * maxIgnOutputs * 5 / 3;
|
||||
|
|
Loading…
Reference in New Issue