Skip to content

Commit

Permalink
attempted fix for 96-channel motor driver error false positive (#772)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoegenburg authored Apr 22, 2024
1 parent 32980c4 commit 6599290
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pipettes/firmware/motor_configurations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@ auto motor_configs::hardware_config_by_axis(TMC2160PipetteAxis which)
.port = GPIOB,
.pin = GPIO_PIN_9,
.active_setting = GPIO_PIN_RESET},
.diag0 =
{// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
.port = GPIOB,
.pin = GPIO_PIN_6,
.active_setting = GPIO_PIN_RESET},
};
case TMC2160PipetteAxis::left_gear_motor:
return motor_hardware::HardwareConfig{
Expand Down Expand Up @@ -237,6 +242,11 @@ auto motor_configs::hardware_config_by_axis(TMC2160PipetteAxis which)
.port = GPIOB,
.pin = GPIO_PIN_9,
.active_setting = GPIO_PIN_RESET},
.diag0 =
{// NOLINTNEXTLINE(cppcoreguidelines-pro-type-cstyle-cast)
.port = GPIOB,
.pin = GPIO_PIN_6,
.active_setting = GPIO_PIN_RESET},
};
case TMC2160PipetteAxis::linear_motor:
default:
Expand Down

0 comments on commit 6599290

Please sign in to comment.