8chan Official well known idle stepper configuration #5197
This commit is contained in:
parent
ac144d33fa
commit
6116b01642
|
@ -116,9 +116,9 @@ void initIdleHardware() {
|
||||||
hw = &iacHbridgeHw;
|
hw = &iacHbridgeHw;
|
||||||
} else if (engineConfiguration->useHbridgesToDriveIdleStepper) {
|
} else if (engineConfiguration->useHbridgesToDriveIdleStepper) {
|
||||||
auto motorA = initDcMotor(engineConfiguration->stepperDcIo[0],
|
auto motorA = initDcMotor(engineConfiguration->stepperDcIo[0],
|
||||||
ETB_COUNT + 0, stepper_dc_use_two_wires);
|
ETB_COUNT + 0, engineConfiguration->stepper_dc_use_two_wires);
|
||||||
auto motorB = initDcMotor(engineConfiguration->stepperDcIo[1],
|
auto motorB = initDcMotor(engineConfiguration->stepperDcIo[1],
|
||||||
ETB_COUNT + 1, stepper_dc_use_two_wires);
|
ETB_COUNT + 1, engineConfiguration->stepper_dc_use_two_wires);
|
||||||
|
|
||||||
iacHbridgeHw.initialize(
|
iacHbridgeHw.initialize(
|
||||||
motorA,
|
motorA,
|
||||||
|
|
Loading…
Reference in New Issue