mirror of
https://github.com/hathach/tinyusb.git
synced 2025-02-21 03:40:52 +00:00
Merge pull request #1099 from kasjer/kasjer/da1469x_dk_pro-fix-pin-pullup
da1469x_dk_pro: Fix button setup
This commit is contained in:
commit
040300540c
@ -80,7 +80,7 @@ void board_init(void)
|
||||
hal_gpio_init_out(5, 0);
|
||||
|
||||
// Button
|
||||
hal_gpio_init_in(BUTTON_PIN, HAL_GPIO_PULL_NONE);
|
||||
hal_gpio_init_in(BUTTON_PIN, HAL_GPIO_PULL_UP);
|
||||
|
||||
// 1ms tick timer
|
||||
SysTick_Config(SystemCoreClock / 1000);
|
||||
|
Loading…
x
Reference in New Issue
Block a user