Skip to content

Commit 1d05283

Browse files
erdemuncuogludevyte
authored andcommitted
fix for #6904: NodeMCU v1.0 board option "Builtin Led" not working. (#6905)
1 parent eb6418f commit 1d05283

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

variants/nodemcu/pins_arduino.h

+2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232
static const uint8_t SDA = PIN_WIRE_SDA;
3333
static const uint8_t SCL = PIN_WIRE_SCL;
3434

35+
#ifndef LED_BUILTIN
3536
#define LED_BUILTIN 2
37+
#endif
3638
#define LED_BUILTIN_AUX 16
3739

3840
static const uint8_t D0 = 16;

0 commit comments

Comments
 (0)