1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 00:09:46 +01:00

boards/nrf9160dk: enable internal pullup on buttons

Signed-off-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
This commit is contained in:
Dylan Laduranty 2024-04-08 20:14:12 +02:00
parent d75595751c
commit f7d0523295

View File

@ -78,13 +78,13 @@ extern "C" {
* @{
*/
#define BTN0_PIN GPIO_PIN(0, 6) /**< BTN0 pin definition */
#define BTN0_MODE GPIO_IN /**< BTN0 default mode */
#define BTN0_MODE GPIO_IN_PU /**< BTN0 default mode */
#define BTN1_PIN GPIO_PIN(0, 7) /**< BTN1 pin definition */
#define BTN1_MODE GPIO_IN /**< BTN1 default mode */
#define BTN1_MODE GPIO_IN_PU /**< BTN1 default mode */
#define BTN2_PIN GPIO_PIN(0, 8) /**< BTN2 pin definition */
#define BTN2_MODE GPIO_IN /**< BTN2 default mode */
#define BTN2_MODE GPIO_IN_PU /**< BTN2 default mode */
#define BTN3_PIN GPIO_PIN(0, 9) /**< BTN3 pin definition */
#define BTN3_MODE GPIO_IN /**< BTN3 default mode */
#define BTN3_MODE GPIO_IN_PU /**< BTN3 default mode */
/** @} */
/**