minor clean up

This commit is contained in:
hathach
2024-11-08 22:53:28 +07:00
parent c8d104fb47
commit 3831786ede
7 changed files with 8 additions and 16 deletions

View File

@@ -47,8 +47,8 @@ static board_pindef_t board_pindef[] = {
},
{ // BUTTON
.port = GPIOE,
.pin_init = { .Pin = GPIO_PIN_4, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLDOWN, .Speed = GPIO_SPEED_HIGH, .Alternate = 0 },
.active_state = 1
.pin_init = { .Pin = GPIO_PIN_4, .Mode = GPIO_MODE_INPUT, .Pull = GPIO_PULLUP, .Speed = GPIO_SPEED_HIGH, .Alternate = 0 },
.active_state = 0
},
{ // UART TX
.port = GPIOA,