Skip to content

Commit 60debfc

Browse files
authored
Merge pull request #60 from adafruit/develop
fix #59 incorrect button mapping for feather nrf52840
2 parents 8df909f + 2713069 commit 60debfc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,8 @@ CFLAGS += -ffunction-sections -fdata-sections -fno-strict-aliasing
251251
CFLAGS += -fno-builtin --short-enums -fstack-usage
252252

253253
# Defined Symbol (MACROS)
254+
255+
# TODO use GIT_VERSION (numberic format)
254256
CFLAGS += -DMK_BOOTLOADER_VERSION=0x0$(SD_VER1)0$(SD_VER2)0$(SD_VER3)UL
255257

256258
CFLAGS += -D__HEAP_SIZE=0

src/boards/feather_nrf52840_express.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
/* BUTTON
5454
*------------------------------------------------------------------*/
5555
#define BUTTONS_NUMBER 2
56-
#define BUTTON_1 _PINNUM(0, 15)
57-
#define BUTTON_2 _PINNUM(0, 19)
56+
#define BUTTON_1 _PINNUM(1, 02)
57+
#define BUTTON_2 _PINNUM(0, 10)
5858
#define BUTTON_PULL NRF_GPIO_PIN_PULLUP
5959

6060
/*------------------------------------------------------------------*/

0 commit comments

Comments
 (0)