Skip to content

Commit 25d367a

Browse files
committed
Added conditions to the serialGw as well
1 parent e36d1d3 commit 25d367a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libraries/MySensors/examples/GatewaySerial/GatewaySerial.ino

+2
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,11 @@
7272
// Digital pin used for inclusion mode button
7373
#define MY_INCLUSION_MODE_BUTTON_PIN 3
7474

75+
#ifndef MY_DEFAULT_ERR_LED_PIN
7576
#define MY_DEFAULT_ERR_LED_PIN 4 // Error led pin
7677
#define MY_DEFAULT_RX_LED_PIN 6 // Receive led pin
7778
#define MY_DEFAULT_TX_LED_PIN 5 // the PCB, on board LED
79+
#endif
7880

7981
#include <SPI.h>
8082
#include <MySensor.h>

0 commit comments

Comments
 (0)