mirror of
https://github.com/esphome/esphome.git
synced 2025-08-05 18:07:47 +00:00
fixes
This commit is contained in:
parent
0097a55eaa
commit
be84f12100
@ -9,9 +9,6 @@ namespace esphome {
|
|||||||
|
|
||||||
namespace runtime_stats {
|
namespace runtime_stats {
|
||||||
|
|
||||||
// Forward declaration to help compiler
|
|
||||||
class RuntimeStatsCollector;
|
|
||||||
|
|
||||||
RuntimeStatsCollector::RuntimeStatsCollector() : log_interval_(60000), next_log_time_(0) {
|
RuntimeStatsCollector::RuntimeStatsCollector() : log_interval_(60000), next_log_time_(0) {
|
||||||
global_runtime_stats = this;
|
global_runtime_stats = this;
|
||||||
}
|
}
|
||||||
|
@ -11,11 +11,10 @@
|
|||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include "esphome/core/helpers.h"
|
#include "esphome/core/helpers.h"
|
||||||
#include "esphome/core/log.h"
|
#include "esphome/core/log.h"
|
||||||
|
#include "esphome/core/component.h"
|
||||||
|
|
||||||
namespace esphome {
|
namespace esphome {
|
||||||
|
|
||||||
class Component; // Forward declaration
|
|
||||||
|
|
||||||
namespace runtime_stats {
|
namespace runtime_stats {
|
||||||
|
|
||||||
static const char *const TAG = "runtime_stats";
|
static const char *const TAG = "runtime_stats";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user