mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	fixes
This commit is contained in:
		| @@ -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"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user