diff options
| author | Ha Thach <[email protected]> | 2021-09-23 17:10:57 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-23 17:10:57 +0700 |
| commit | 040300540c5be7622f1d24d7d0e5e32819eff6cf (patch) | |
| tree | d0a37a437c92ac7ee5d7483eca3ad28147de3f5d | |
| parent | 4766e7f3481434bdc6c3b29c402ccd56d4b3a216 (diff) | |
| parent | dd2a518881f975583ae0ae018c9479ab61392a7c (diff) | |
Merge pull request #1099 from kasjer/kasjer/da1469x_dk_pro-fix-pin-pullup
da1469x_dk_pro: Fix button setup
| -rw-r--r-- | hw/bsp/da1469x_dk_pro/da1469x-dk-pro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/da1469x_dk_pro/da1469x-dk-pro.c b/hw/bsp/da1469x_dk_pro/da1469x-dk-pro.c index 2b6931e4e..0441c000c 100644 --- a/hw/bsp/da1469x_dk_pro/da1469x-dk-pro.c +++ b/hw/bsp/da1469x_dk_pro/da1469x-dk-pro.c @@ -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); |
