Skip to content

Commit f78ed6e

Browse files
Arduino Nano Connect no defining classes in C code
1 parent d20ed44 commit f78ed6e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

libraries/rp2040/examples/Profiling/Profiling.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
#ifndef __PROFILE
5454
void setup() {
55-
Serial.printf("Enable profiling to run this example.\n");
55+
Serial.printf("Enable profiling to run this example.\n");
5656
}
5757

5858
void loop() {

variants/arduino_nano_connect/pins_arduino.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,7 @@ static const uint8_t SCK = PIN_SPI0_SCK;
120120
#define CRYPTO_WIRE Wire
121121

122122
#define USB_MAX_POWER (500)
123+
124+
#ifdef __cplusplus
123125
#include "nina_pins.h"
126+
#endif

0 commit comments

Comments
 (0)