From 258e57ff17860acc09f03a65bcbf45fda8a9b456 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Wed, 28 Jan 2026 05:42:25 -1000 Subject: [PATCH] cleanups --- esphome/components/runtime_stats/runtime_stats.cpp | 2 +- esphome/components/runtime_stats/runtime_stats.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/esphome/components/runtime_stats/runtime_stats.cpp b/esphome/components/runtime_stats/runtime_stats.cpp index f8ceae06da..410695da04 100644 --- a/esphome/components/runtime_stats/runtime_stats.cpp +++ b/esphome/components/runtime_stats/runtime_stats.cpp @@ -44,7 +44,7 @@ void RuntimeStatsCollector::log_stats_() { return; } - // Stack buffer sized to actual active count (up to 256 = 1KB), heap fallback for larger + // Stack buffer sized to actual active count (up to 256 components), heap fallback for larger SmallBufferWithHeapFallback<256, Component *> buffer(count); Component **sorted = buffer.get(); diff --git a/esphome/components/runtime_stats/runtime_stats.h b/esphome/components/runtime_stats/runtime_stats.h index 58a4fa4bc9..c7fea7474b 100644 --- a/esphome/components/runtime_stats/runtime_stats.h +++ b/esphome/components/runtime_stats/runtime_stats.h @@ -5,7 +5,6 @@ #ifdef USE_RUNTIME_STATS #include -#include #include #include #include "esphome/core/helpers.h"