Add additional #if for CONFIG_IDF_TARGET_ESP32

This commit is contained in:
Simon Hailes 2021-02-04 23:33:02 +00:00
parent 1f8ef8e626
commit 8be21c8316

View File

@ -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
#endif // USE_BLE_ESP32
#endif // CONFIG_IDF_TARGET_ESP32