From 340156945f8b9dcb2093c3b10693eca680ca13ef Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 11 Feb 2026 14:57:17 -0600 Subject: [PATCH] remove now unused --- esphome/components/wifi/wifi_component.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/wifi/wifi_component.h b/esphome/components/wifi/wifi_component.h index 4cf19a8059..ac28a1bc81 100644 --- a/esphome/components/wifi/wifi_component.h +++ b/esphome/components/wifi/wifi_component.h @@ -177,8 +177,7 @@ template using wifi_scan_vector_t = FixedVector; class CompactString { public: static constexpr uint8_t MAX_LENGTH = 127; - static constexpr uint8_t INLINE_CAPACITY = 18; // 18 chars + null terminator fits in 19 bytes - static constexpr uint8_t BUFFER_SIZE = MAX_LENGTH + 1; // For external buffer (128 bytes) + static constexpr uint8_t INLINE_CAPACITY = 18; // 18 chars + null terminator fits in 19 bytes CompactString() : length_(0), is_heap_(0) { this->storage_[0] = '\0'; } CompactString(const char *str, size_t len);