Skip to content

Commit 0d2ca6f

Browse files
authored
Merge pull request #3 from gbr1/iron-giga
led builtin check
2 parents b87a23a + fae478c commit 0d2ca6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/micro-ros_publisher_wifi/micro-ros_publisher_wifi.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ rclc_support_t support;
1818
rcl_allocator_t allocator;
1919
rcl_node_t node;
2020

21-
#ifdef ARDUINO_GIGA
22-
#define LED_PIN LEDR
21+
#if defined(LED_BUILTIN)
22+
#define LED_PIN LED_BUILTIN
2323
#else
2424
#define LED_PIN 13
2525
#endif

0 commit comments

Comments
 (0)