mirror of
https://github.com/esphome/esphome.git
synced 2026-02-08 08:41:59 +00:00
cleanups
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#ifdef USE_RUNTIME_STATS
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
#include "esphome/core/helpers.h"
|
||||
|
||||
Reference in New Issue
Block a user