separate debug component for each platform in different file (#6715)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
tomaszduda23andJesse Hills authored and GitHub committed 2024-05-13 11:54:43 +12:00
1 parent 61b65e2726
commit 67ca60e2af
7 files changed
+479 -366

No files matched your search

@@ -59,6 +59,11 @@ class DebugComponent : public PollingComponent {
text_sensor::TextSensor *device_info_{nullptr};
text_sensor::TextSensor *reset_reason_{nullptr};
#endif // USE_TEXT_SENSOR
std::string get_reset_reason_();
uint32_t get_free_heap_();
void get_device_info_(std::string &device_info);
void update_platform_();
};
} // namespace debug