bsp: fix NUCLEO-H7S3L8 button
Signed-off-by: HiFiPhile <admin@hifiphile.com>
This commit is contained in:
@@ -61,7 +61,7 @@ static board_pindef_t board_pindef[] = {
|
|||||||
},
|
},
|
||||||
{ // Button
|
{ // Button
|
||||||
.port = GPIOC,
|
.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
|
.active_state = 1
|
||||||
},
|
},
|
||||||
{ // UART TX
|
{ // UART TX
|
||||||
|
Reference in New Issue
Block a user