From d791cacae6802c4348ae0917c653115ad7e4972d Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Sun, 7 Jun 2015 22:14:47 +1000 Subject: [PATCH] Another possible softLimit fix --- speeduino.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/speeduino.ino b/speeduino.ino index 046a4238..ea48381e 100644 --- a/speeduino.ino +++ b/speeduino.ino @@ -475,7 +475,7 @@ void loop() //*********************************************************************************************** //| BEGIN IGNITION CALCULATIONS - if (currentStatus.RPM > ((unsigned int)(configPage2.SoftRevLim * 100)) ) { currentStatus.advance = currentStatus.advance - configPage2.SoftLimRetard; } //Softcut RPM limit (If we're above softcut limit, delay timing by configured number of degrees) + if (currentStatus.RPM > ((unsigned int)(configPage2.SoftRevLim) * 100) ) { currentStatus.advance = currentStatus.advance - configPage2.SoftLimRetard; } //Softcut RPM limit (If we're above softcut limit, delay timing by configured number of degrees) //Set dwell //Dwell is stored as ms * 10. ie Dwell of 4.3ms would be 43 in configPage2. This number therefore needs to be multiplied by 100 to get dwell in uS