8chan Official well known idle stepper configuration #5197

This commit is contained in:
rusefillc 2023-03-26 07:28:35 -04:00
parent ac144d33fa
commit 6116b01642
1 changed files with 2 additions and 2 deletions

View File

@ -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,