summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2026-03-01 16:02:46 +0100
committerHiFiPhile <[email protected]>2026-03-01 16:02:46 +0100
commit320b92b106713d07731196fc06a5cc2fe6745def (patch)
tree68e3ec6258c89e039a1b8d3e48fb7faf80c467be
parent7da7d0725b4b791eaeda6b6a344932ec8c07feb1 (diff)
bsp/stm32h7: fix h747-disco button
Signed-off-by: HiFiPhile <[email protected]>
-rw-r--r--hw/bsp/stm32h7/boards/stm32h747disco/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32h7/boards/stm32h747disco/board.h b/hw/bsp/stm32h7/boards/stm32h747disco/board.h
index 458aa48b6..0a25c89dc 100644
--- a/hw/bsp/stm32h7/boards/stm32h747disco/board.h
+++ b/hw/bsp/stm32h7/boards/stm32h747disco/board.h
@@ -63,7 +63,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_HIGH, .Alternate = 0 },
+ .pin_init = { .Pin = GPIO_PIN_13, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLDOWN, .Speed = GPIO_SPEED_HIGH, .Alternate = 0 },
.active_state = 1
},
{ // UART TX