FirmwareDialog: UI improvements, bugfixes

This commit is contained in:
Vojtech Kral
2018-08-01 12:18:19 +02:00
committed by bubnikv
parent 14c9ff174d
commit b6d70f5fe8
7 changed files with 385 additions and 174 deletions
+3 -2
View File
@@ -51,12 +51,13 @@ public:
// Reads a line or times out, the timeout is in milliseconds
bool read_line(unsigned timeout, std::string &line, boost::system::error_code &ec);
// Perform setup for communicating with a printer
// Perform an initial setup for communicating with a printer
void printer_setup();
// Write data from a string
size_t write_string(const std::string &str);
// Attempts to reset the line numer and waits until the printer says "ok"
bool printer_ready_wait(unsigned retries, unsigned timeout);
// Write Marlin-formatted line, with a line number and a checksum