Skip to content

Commit e36d1d3

Browse files
committed
Conditionals on the led defines (they can be defined by hardware)
1 parent b8d8276 commit e36d1d3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/MySensors/examples/GatewayW5100/GatewayW5100.ino

+2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,11 @@
100100
// Digital pin used for inclusion mode button
101101
#define MY_INCLUSION_MODE_BUTTON_PIN 3
102102

103+
#ifndef MY_DEFAULT_ERR_LED_PIN
103104
#define MY_DEFAULT_ERR_LED_PIN 7 // Error led pin
104105
#define MY_DEFAULT_RX_LED_PIN 8 // Receive led pin
105106
#define MY_DEFAULT_TX_LED_PIN 9 // the PCB, on board LED
107+
#endif
106108

107109
#include <SPI.h>
108110

0 commit comments

Comments
 (0)