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