fix #59 incorrect button mapping for feather nrf52840

This commit is contained in:
hathach
2019-03-27 13:03:23 +07:00
parent 8df909f0a8
commit 2713069643
2 changed files with 4 additions and 2 deletions

View File

@ -53,8 +53,8 @@
/* BUTTON
*------------------------------------------------------------------*/
#define BUTTONS_NUMBER 2
#define BUTTON_1 _PINNUM(0, 15)
#define BUTTON_2 _PINNUM(0, 19)
#define BUTTON_1 _PINNUM(1, 02)
#define BUTTON_2 _PINNUM(0, 10)
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
/*------------------------------------------------------------------*/