From 7c909f021e241b004c88e1868f0e2e749104f225 Mon Sep 17 00:00:00 2001 From: Josh Stewart Date: Thu, 4 May 2017 13:47:50 +1000 Subject: [PATCH] Set appropriate type for fixed cranking additional dwell --- speeduino/speeduino.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/speeduino/speeduino.ino b/speeduino/speeduino.ino index 34ca00e5..5e0a4f52 100644 --- a/speeduino/speeduino.ino +++ b/speeduino/speeduino.ino @@ -95,7 +95,7 @@ volatile int mainLoopCount; byte deltaToothCount = 0; //The last tooth that was used with the deltaV calc int rpmDelta; byte ignitionCount; -byte fixedCrankingOverride = 0; +uint16_t fixedCrankingOverride = 0; bool clutchTrigger; bool previousClutchTrigger; @@ -948,13 +948,13 @@ void loop() if (currentStatus.current_caninchannel <= 6) { currentStatus.current_caninchannel++; //step to next input channel if under 9 - } - else + } + else { currentStatus.current_caninchannel = 0; //reset input channel back to 1 } - } - } + } + } } #endif vvtControl();