Additional State of the Printer + Refactoring

This commit is contained in:
2024-12-27 21:25:10 +01:00
parent 3c229f2cb8
commit 0c0bd23b82
3 changed files with 61 additions and 3 deletions

View File

@@ -21,6 +21,8 @@ class Marlin2 : public PollingComponent , public uart::UARTDevice {
int process_print_time_msg(int* d, int* h, int* m, unsigned long* current, unsigned long* remaining);
std::string MarlinOutput;
std::string PrinterState;
std::vector<std::pair<std::string, sensor::Sensor *>> sensors;
private: