From 8be21c8316832dc8275161896f32ce19461188ed Mon Sep 17 00:00:00 2001 From: Simon Hailes Date: Thu, 4 Feb 2021 23:33:02 +0000 Subject: [PATCH] Add additional #if for CONFIG_IDF_TARGET_ESP32 --- tasmota/xsns_52_esp32_ibeacon_ble.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/xsns_52_esp32_ibeacon_ble.ino b/tasmota/xsns_52_esp32_ibeacon_ble.ino index 2e77f1a21..daf665cb9 100644 --- a/tasmota/xsns_52_esp32_ibeacon_ble.ino +++ b/tasmota/xsns_52_esp32_ibeacon_ble.ino @@ -46,6 +46,7 @@ // for testing of BLE_ESP32, we remove xsns_52_ibeacon.ino completely, and instead add this modified xsns_52_ibeacon_BLE_ESP32.ino // in the future this may be more fine-grained, e.g. to allow hm17 for this, and BLE-ESP32 for other +#if CONFIG_IDF_TARGET_ESP32 #ifdef USE_BLE_ESP32 #define XSNS_52 52 @@ -571,4 +572,5 @@ bool Xsns52(byte function) return result; } -#endif // USE_BLE_ESP32 \ No newline at end of file +#endif // USE_BLE_ESP32 +#endif // CONFIG_IDF_TARGET_ESP32