Fix sanity check option (#923)

This commit is contained in:
Olivier
2017-09-07 18:10:55 +02:00
committed by GitHub
parent 973b4b8423
commit 067519c500
2 changed files with 6 additions and 4 deletions
-3
View File
@@ -919,9 +919,6 @@
* for battery powered operation.
*/
//#define MY_REPEATER_FEATURE
#if defined(MY_REPEATER_FEATURE)
#define MY_TRANSPORT_SANITY_CHECK
#endif
/**
* @def MY_PASSIVE_NODE
+6 -1
View File
@@ -1,4 +1,4 @@
/*
/*
* The MySensors Arduino library handles the wireless radio link and protocol
* between your home built sensors/actuators and HA controller of choice.
* The sensors forms a self healing radio network with optional repeaters. Each
@@ -236,6 +236,11 @@ MY_DEFAULT_RX_LED_PIN in your sketch instead to enable LEDs
#endif
#endif //DOXYGEN
// SANITY CHECK
#if defined(MY_REPEATER_FEATURE) || defined(MY_GATEWAY_FEATURE)
#define MY_TRANSPORT_SANITY_CHECK
#endif
// TRANSPORT INCLUDES
#if defined(MY_RADIO_RF24) || defined(MY_RADIO_NRF5_ESB) || defined(MY_RADIO_RFM69) || defined(MY_RADIO_RFM95) || defined(MY_RS485)
#include "hal/transport/MyTransportHAL.h"