Skip to content

Commit b47c37c

Browse files
committed
Changed 'built-in' (default) LED used with Zephir boards from RED to GREEN.
1 parent 93ad66d commit b47c37c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/Arduino.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@
6464
#else
6565
#define LED_BUILTIN \
6666
DIGITAL_PIN_GPIOS_FIND_PIN( \
67-
DT_REG_ADDR(DT_PHANDLE_BY_IDX(DT_PATH(zephyr_user), builtin_led_gpios, 0)), \
68-
DT_PHA_BY_IDX(DT_PATH(zephyr_user), builtin_led_gpios, 0, pin))
67+
DT_REG_ADDR(DT_PHANDLE_BY_IDX(DT_PATH(zephyr_user), builtin_led_gpios, 1)), \
68+
DT_PHA_BY_IDX(DT_PATH(zephyr_user), builtin_led_gpios, 1, pin))
6969
#endif
7070

7171
/* If digital-pin-gpios is not defined, tries to use the led0 alias */

0 commit comments

Comments
 (0)