Skip to content

Commit

Permalink
engage ebrake at boot for gripper z
Browse files Browse the repository at this point in the history
  • Loading branch information
ahiuchingau committed Mar 4, 2024
1 parent 67da197 commit 77dd479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gripper/firmware/utility_gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ inline static void ebrake_gpio_init(void) {
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(EBRAKE_PORT, &GPIO_InitStruct);

HAL_GPIO_WritePin(EBRAKE_PORT, EBRAKE_PIN, GPIO_PIN_SET);
HAL_GPIO_WritePin(EBRAKE_PORT, EBRAKE_PIN, GPIO_PIN_RESET);
}
#endif

Expand Down

0 comments on commit 77dd479

Please sign in to comment.