summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2026-03-13 01:29:37 +0700
committerGitHub <[email protected]>2026-03-13 01:29:37 +0700
commitf98f7e003fc8c4bcdf503e8c9bff29122b70cc9e (patch)
treead99f53db0e5da76d8eee987b30fdbba8776942e /hw
parent1fcb49fc638635337dc3d757767428bc3cb8c4b7 (diff)
parent5bca175ea1f19309bc3f53a9435cb289561e1aa2 (diff)
Merge pull request #3438 from hathach/ncm_restart
Fix NCM state on restart
Diffstat (limited to 'hw')
-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