Skip to content

Commit 8b8f623

Browse files
committed
Merge branch 'development' of https://github.com/mysensors/Arduino.git into development
2 parents 8b64636 + 07f8218 commit 8b8f623

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

libraries/MySensors/MyConfig.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
// pick ONE of these - other board layouts can be easily added this way
99
#define MYSENSORS_SENSOR
1010
//#define MYSENSORS_SERIAL_GATEWAY
11-
//#define MYSENSORS_ETHERNET_MQTT_GATEWAY
11+
//#define MYSENSORS_ETHERNET_GATEWAY
12+
//#define MYSENSORS_MQTT_GATEWAY
1213

1314
// Choose radio type by enabling one of the following
1415
#define MYSENSORS_RF_NRF24

libraries/MySensors/MyRFDriverNRF24.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#define RF24_PA_LEVEL RF24_PA_LOW
2222
#endif
2323

24-
#ifdef MYSENSORS_ETHERNET_MQTT_GATEWAY
24+
#if defined(MYSENSORS_ETHERNET_GATEWAY) || defined(MYSENSORS_MQTT_GATEWAY)
2525
#define RF24_CE_PIN 5
2626
#define RF24_CS_PIN 6
2727
#define RF24_PA_LEVEL RF24_PA_LOW

libraries/MySensors/examples/EthernetGateway/EthernetGateway.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
#include <PinChangeInt.h>
4949
#include "GatewayUtil.h"
5050

51-
#ifndef MYSENSORS_ETHERNET_MQTT_GATEWAY
52-
#error Please switch to MYSENSORS_ETHERNET_MQTT_GATEWAY in MyConfig.h
51+
#ifndef MYSENSORS_ETHERNET_GATEWAY
52+
#error Please switch to MYSENSORS_ETHERNET_GATEWAY in MyConfig.h
5353
#endif
5454

5555
// Use this if you have attached a Ethernet ENC28J60 shields

libraries/MySensors/examples/MQTTGateway/MQTTGateway.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ http://forum.mysensors.org/topic/303/mqtt-broker-gateway
6262
#include <Ethernet.h>
6363
#include "MyMQTT.h"
6464

65-
#ifndef MYSENSORS_ETHERNET_MQTT_GATEWAY
66-
#error Please switch to MYSENSORS_ETHERNET_MQTT_GATEWAY in MyConfig.h
65+
#ifndef MYSENSORS_MQTT_GATEWAY
66+
#error Please switch to MYSENSORS_MQTT_GATEWAY in MyConfig.h
6767
#endif
6868

6969
#define INCLUSION_MODE_TIME 1 // Number of minutes inclusion mode is enabled

0 commit comments

Comments
 (0)