diff options
| author | HiFiPhile <[email protected]> | 2025-11-28 13:18:38 +0100 |
|---|---|---|
| committer | HiFiPhile <[email protected]> | 2025-11-28 13:18:38 +0100 |
| commit | ae4e3c032826b4890dde14f01e7f568ae02322f0 (patch) | |
| tree | 33505be60fa6e1ef6d92ced0a5d018406615b158 | |
| parent | 1ffe00b4363fc2d76751270118091fc3a3a1b92b (diff) | |
Fix button
Signed-off-by: HiFiPhile <[email protected]>
| -rw-r--r-- | hw/bsp/stm32h5/boards/stm32h573i_dk/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32h5/boards/stm32h573i_dk/board.h b/hw/bsp/stm32h5/boards/stm32h573i_dk/board.h index e95308b67..5788837ab 100644 --- a/hw/bsp/stm32h5/boards/stm32h573i_dk/board.h +++ b/hw/bsp/stm32h5/boards/stm32h573i_dk/board.h @@ -60,7 +60,7 @@ static board_pindef_t board_pindef[] = { }, { // Button .port = GPIOC, - .pin_init = { .Pin = GPIO_PIN_13, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLUP, .Speed = GPIO_SPEED_FREQ_HIGH, .Alternate = 0 }, + .pin_init = { .Pin = GPIO_PIN_13, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLDOWN, .Speed = GPIO_SPEED_FREQ_HIGH, .Alternate = 0 }, .active_state = 1 }, { // UART TX |
