From e08a344ffa1dd837d7a620d06c2db34e6e21f1ff Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Tue, 15 Oct 2019 11:25:00 +0200 Subject: [PATCH] Make RF Bridge optional --- sonoff/xdrv_06_snfbridge.ino | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sonoff/xdrv_06_snfbridge.ino b/sonoff/xdrv_06_snfbridge.ino index 67ca582fb..7afb5b450 100644 --- a/sonoff/xdrv_06_snfbridge.ino +++ b/sonoff/xdrv_06_snfbridge.ino @@ -21,6 +21,8 @@ Sonoff RF Bridge 433 \*********************************************************************************************/ +#ifdef USE_RF_BRIDGE + #define XDRV_06 6 const uint32_t SFB_TIME_AVOID_DUPLICATE = 2000; // Milliseconds @@ -584,3 +586,5 @@ bool Xdrv06(uint8_t function) } return result; } + +#endif // USE_RF_BRIDGE