From c63b0cc6c8af475f42f1323ca3f653253a8e527d Mon Sep 17 00:00:00 2001 From: Bruno Bousquet Date: Tue, 29 Oct 2019 09:44:32 -0400 Subject: [PATCH] add axisSize to idle tables --- speeduino/idle.ino | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/speeduino/idle.ino b/speeduino/idle.ino index 210335f7..528c08bd 100644 --- a/speeduino/idle.ino +++ b/speeduino/idle.ino @@ -43,12 +43,14 @@ void initialiseIdle() //Case 2 is PWM open loop iacPWMTable.xSize = 10; iacPWMTable.valueSize = SIZE_BYTE; + iacPWMTable.axisSize = SIZE_BYTE; iacPWMTable.values = configPage6.iacOLPWMVal; iacPWMTable.axisX = configPage6.iacBins; iacCrankDutyTable.xSize = 4; iacCrankDutyTable.valueSize = SIZE_BYTE; + iacCrankDutyTable.axisSize = SIZE_BYTE; iacCrankDutyTable.values = configPage6.iacCrankDuty; iacCrankDutyTable.axisX = configPage6.iacCrankBins; @@ -68,11 +70,13 @@ void initialiseIdle() //Case 3 is PWM closed loop iacClosedLoopTable.xSize = 10; iacClosedLoopTable.valueSize = SIZE_BYTE; + iacClosedLoopTable.axisSize = SIZE_BYTE; iacClosedLoopTable.values = configPage6.iacCLValues; iacClosedLoopTable.axisX = configPage6.iacBins; iacCrankDutyTable.xSize = 4; iacCrankDutyTable.valueSize = SIZE_BYTE; + iacCrankDutyTable.axisSize = SIZE_BYTE; iacCrankDutyTable.values = configPage6.iacCrankDuty; iacCrankDutyTable.axisX = configPage6.iacCrankBins; @@ -96,11 +100,13 @@ void initialiseIdle() //Case 2 is Stepper open loop iacStepTable.xSize = 10; iacStepTable.valueSize = SIZE_BYTE; + iacStepTable.axisSize = SIZE_BYTE; iacStepTable.values = configPage6.iacOLStepVal; iacStepTable.axisX = configPage6.iacBins; iacCrankStepsTable.xSize = 4; iacCrankStepsTable.valueSize = SIZE_BYTE; + iacCrankStepsTable.axisSize = SIZE_BYTE; iacCrankStepsTable.values = configPage6.iacCrankSteps; iacCrankStepsTable.axisX = configPage6.iacCrankBins; iacStepTime = configPage6.iacStepTime * 1000; @@ -126,11 +132,13 @@ void initialiseIdle() //Case 5 is Stepper closed loop iacClosedLoopTable.xSize = 10; iacClosedLoopTable.valueSize = SIZE_BYTE; + iacClosedLoopTable.axisSize = SIZE_BYTE; iacClosedLoopTable.values = configPage6.iacCLValues; iacClosedLoopTable.axisX = configPage6.iacBins; iacCrankStepsTable.xSize = 4; iacCrankStepsTable.valueSize = SIZE_BYTE; + iacCrankStepsTable.axisSize = SIZE_BYTE; iacCrankStepsTable.values = configPage6.iacCrankSteps; iacCrankStepsTable.axisX = configPage6.iacCrankBins; iacStepTime = configPage6.iacStepTime * 1000;