Skip to content

Commit f6fcc94

Browse files
committed
fix(zigbee): Use default GPIO if LED_BUILTINnot defined
1 parent a03a044 commit f6fcc94

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/Zigbee/examples/Zigbee_Range_Extender/Zigbee_Range_Extender.ino

+5
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@
3434
/* Zigbee light bulb configuration */
3535
#define USE_CUSTOM_ZIGBEE_CONFIG 1
3636
#define ZIGBEE_EXTENDER_ENDPOINT 1
37+
38+
#ifndef LED_BUILTIN
39+
#define LED_BUILTIN 4
40+
#endif
41+
3742
uint8_t led = LED_BUILTIN;
3843
uint8_t button = BOOT_PIN;
3944

0 commit comments

Comments
 (0)