From 164cb3d32c5fd0c89ec2db099d39dc5a9389e88d Mon Sep 17 00:00:00 2001 From: Oxan van Leeuwen Date: Wed, 22 Sep 2021 12:38:38 +0200 Subject: [PATCH] Fix changed macro name --- esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h b/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h index 7e5e37089e..dd48409e6f 100644 --- a/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h +++ b/esphome/components/xiaomi_mccgq02hl/xiaomi_mccgq02hl.h @@ -6,7 +6,7 @@ #include "esphome/components/esp32_ble_tracker/esp32_ble_tracker.h" #include "esphome/components/xiaomi_ble/xiaomi_ble.h" -#ifdef ARDUINO_ARCH_ESP32 +#ifdef USE_ESP32 namespace esphome { namespace xiaomi_mccgq02hl {