From 77dd479fc8e4bb17c00aed17dee90d4dd11c7526 Mon Sep 17 00:00:00 2001 From: ahiuchingau <20424172+ahiuchingau@users.noreply.github.com> Date: Mon, 4 Mar 2024 17:56:48 -0500 Subject: [PATCH] engage ebrake at boot for gripper z --- gripper/firmware/utility_gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gripper/firmware/utility_gpio.c b/gripper/firmware/utility_gpio.c index ed5b371da..551f5cc12 100644 --- a/gripper/firmware/utility_gpio.c +++ b/gripper/firmware/utility_gpio.c @@ -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