mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Several fixes to GCodeSender, including compilation on older OS X and DTR reset
This commit is contained in:
1 parent
e50bbc0245
commit
21a5d6e137
4 files changed
+112
-59
No files matched your search
@@ -32,6 +32,8 @@ class GCodeSender : private boost::noncopyable {
|
||||
std::vector<std::string> purge_log();
|
||||
std::string getT() const;
|
||||
std::string getB() const;
|
||||
void set_DTR(bool on);
|
||||
void reset();
|
||||
|
||||
private:
|
||||
asio::io_service io;
|
||||
@@ -58,6 +60,7 @@ class GCodeSender : private boost::noncopyable {
|
||||
|
||||
void set_baud_rate(unsigned int baud_rate);
|
||||
void set_error_status(bool e);
|
||||
void do_send();
|
||||
void do_send(const std::string &line);
|
||||
void do_close();
|
||||
void do_read();
|
||||
|
||||
Reference in new issue
Block a user