Skip to content

Commit d340ce9

Browse files
committed
update example to use new define, fix build error
1 parent 061e85b commit d340ce9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

libraries/Bluefruit52Lib/examples/Peripheral/ancs_oled/ancs_oled.ino

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <bluefruit.h>
2828

2929
/*------------- OLED and Buttons -------------*/
30-
#if defined ARDUINO_NRF52_FEATHER
30+
#if defined ARDUINO_NRF52832_FEATHER
3131
// Feather nRF52832
3232
#define BUTTON_A 31
3333
#define BUTTON_B 30
@@ -456,4 +456,5 @@ uint32_t readPressedButtons(void)
456456
lastDebounced = debounced;
457457

458458
return result;
459-
}
459+
}
460+

libraries/Bluefruit52Lib/examples/Projects/rssi_proximity/rssi_proximity_central/rssi_proximity_central.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ BLEUuid uuid = BLEUuid(CUSTOM_UUID);
9595
#include <Adafruit_ILI9341.h>
9696

9797
/* Pin setup for the TFT display over SPI */
98-
#ifdef ARDUINO_NRF52_FEATHER
98+
#ifdef ARDUINO_NRF52832_FEATHER
9999
#define TFT_DC 11
100100
#define TFT_CS 31
101101
#define STMPE_CS 30
@@ -114,7 +114,7 @@ BLEUuid uuid = BLEUuid(CUSTOM_UUID);
114114
#include <Adafruit_SSD1306.h>
115115

116116
/* Pin setup for the OLED display */
117-
#ifdef ARDUINO_NRF52_FEATHER
117+
#ifdef ARDUINO_NRF52832_FEATHER
118118
#define BUTTON_A 31
119119
#define BUTTON_B 30
120120
#define BUTTON_C 27

0 commit comments

Comments
 (0)