Skip to content

Commit 0802445

Browse files
committed
Define LED_BUILTIN is not defined in the core
1 parent e7e9a83 commit 0802445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ArduinoIoTCloud-Basic/ArduinoIoTCloud-Basic.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include "arduino_secrets.h"
1818
#include "thingProperties.h"
1919

20-
#if defined(ESP32)
20+
#if !defined(LED_BUILTIN)
2121
static int const LED_BUILTIN = 2;
2222
#endif
2323

0 commit comments

Comments
 (0)