Merge pull request #1099 from kasjer/kasjer/da1469x_dk_pro-fix-pin-pullup

da1469x_dk_pro: Fix button setup
This commit is contained in:
Ha Thach 2021-09-23 17:10:57 +07:00 committed by GitHub
commit 040300540c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);