summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiFiPhile <[email protected]>2025-06-14 19:20:11 +0200
committerHiFiPhile <[email protected]>2025-06-14 22:46:51 +0200
commit19b5ec5fd9b5fb423ceacf24d542ebba7f805316 (patch)
tree1d34d538aec7a87282b3ff214ea7f4f5591c6e8d
parent1a36a1c1afefdf7e7d2def73d5fc64703aabe728 (diff)
bsp: fix NUCLEO-H7S3L8 button
Signed-off-by: HiFiPhile <[email protected]>
-rw-r--r--hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h b/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h
index dfa77a8fb..4fb72cce8 100644
--- a/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h
+++ b/hw/bsp/stm32h7rs/boards/stm32h7s3nucleo/board.h
@@ -61,7 +61,7 @@ static board_pindef_t board_pindef[] = {
},
{ // Button
.port = GPIOC,
- .pin_init = { .Pin = GPIO_PIN_13, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLDOWN, .Speed = GPIO_SPEED_FREQ_HIGH, .Alternate = 0 },
+ .pin_init = { .Pin = GPIO_PIN_13, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLUP, .Speed = GPIO_SPEED_FREQ_HIGH, .Alternate = 0 },
.active_state = 1
},
{ // UART TX