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;
|
||||
} else if (engineConfiguration->useHbridgesToDriveIdleStepper) {
|
||||
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],
|
||||
ETB_COUNT + 1, stepper_dc_use_two_wires);
|
||||
ETB_COUNT + 1, engineConfiguration->stepper_dc_use_two_wires);
|
||||
|
||||
iacHbridgeHw.initialize(
|
||||
motorA,
|
||||
|
|
Loading…
Reference in New Issue