[bluetooth_proxy] Remove ESPBTUUID dependency to save 296 bytes of flash (#10213)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-08-13 14:18:53 +12:00
1 parent 113813617d
commit ed2b76050b
9 files changed
+38 -11

No files matched your search

+3 -1
View File
@@ -1,6 +1,7 @@
#include "ble_uuid.h"
#ifdef USE_ESP32
#ifdef USE_ESP32_BLE_UUID
#include <cstring>
#include <cstdio>
@@ -190,4 +191,5 @@ std::string ESPBTUUID::to_string() const {
} // namespace esphome::esp32_ble
#endif
#endif // USE_ESP32_BLE_UUID
#endif // USE_ESP32
+4 -1
View File
@@ -1,9 +1,11 @@
#pragma once
#include "esphome/core/defines.h"
#include "esphome/core/hal.h"
#include "esphome/core/helpers.h"
#ifdef USE_ESP32
#ifdef USE_ESP32_BLE_UUID
#include <string>
#include <esp_bt_defs.h>
@@ -42,4 +44,5 @@ class ESPBTUUID {
} // namespace esphome::esp32_ble
#endif
#endif // USE_ESP32_BLE_UUID
#endif // USE_ESP32