From 79bf2f6aa3e424aaf2898e4caa0d3bc7fcb83b5d Mon Sep 17 00:00:00 2001 From: Simon Hailes Date: Tue, 26 Jan 2021 20:02:42 +0000 Subject: [PATCH] belt and braces fix test failure --- tasmota/tasmota_configurations.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index 0f4a23d0e..de60b84e1 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -170,9 +170,10 @@ #define USE_IBEACON // Add support for bluetooth LE passive scan of ibeacon devices (uses HM17 module) //#define USE_GPS // Add support for GPS and NTP Server for becoming Stratus 1 Time Source (+ 3.1kb flash, +132 bytes RAM) #define USE_HM10 // (ESP8266 only) Add support for HM-10 as a BLE-bridge for the LYWSD03 (+5k1 code) - -#define USE_BLE_ESP32 // (ESP32 only) Add support for native BLE on ESP32 - use new driver -#define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash) +#ifdef ESP32 + #define USE_BLE_ESP32 // (ESP32 only) Add support for native BLE on ESP32 - use new driver + #define USE_MI_ESP32 // (ESP32 only) Add support for ESP32 as a BLE-bridge (+9k2 mem, +292k flash) +#endif #define USE_HRXL // Add support for MaxBotix HRXL-MaxSonar ultrasonic range finders (+0k7) //#define USE_TASMOTA_CLIENT // Add support for Arduino Uno/Pro Mini via serial interface including flashing (+2k3 code, 44 mem) //#define USE_OPENTHERM // Add support for OpenTherm (+15k code)