add axisSize to idle tables
This commit is contained in:
parent
85b08d13ab
commit
c63b0cc6c8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue