mirror of
https://github.com/esphome/esphome.git
synced 2026-10-02 09:20:22 +00:00
Gate on the unified neutral-node-surface define
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "radon_eye_rd200.h"
|
||||
|
||||
#if defined(USE_BLE_CLIENT_GATT_NODES) || (defined(USE_BLE_GATT_CLIENT) && !defined(USE_ESP32))
|
||||
#ifdef USE_BLE_CLIENT_GATT_NODES
|
||||
|
||||
#include "esphome/core/helpers.h"
|
||||
#include "esphome/core/log.h"
|
||||
@@ -225,4 +225,4 @@ void RadonEyeRD200::dump_config() {
|
||||
|
||||
} // namespace esphome::radon_eye_rd200
|
||||
|
||||
#endif // USE_BLE_CLIENT_GATT_NODES || (USE_BLE_GATT_CLIENT && !USE_ESP32)
|
||||
#endif // USE_BLE_CLIENT_GATT_NODES
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include "esphome/core/defines.h"
|
||||
|
||||
#if defined(USE_BLE_CLIENT_GATT_NODES) || (defined(USE_BLE_GATT_CLIENT) && !defined(USE_ESP32))
|
||||
#ifdef USE_BLE_CLIENT_GATT_NODES
|
||||
|
||||
#include "esphome/components/ble_client/ble_client_node.h"
|
||||
#include "esphome/components/sensor/sensor.h"
|
||||
@@ -58,4 +58,4 @@ class RadonEyeRD200 final : public PollingComponent, public ble_client::BLEClien
|
||||
|
||||
} // namespace esphome::radon_eye_rd200
|
||||
|
||||
#endif // USE_BLE_CLIENT_GATT_NODES || (USE_BLE_GATT_CLIENT && !USE_ESP32)
|
||||
#endif // USE_BLE_CLIENT_GATT_NODES
|
||||
|
||||
Reference in New Issue
Block a user