mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Several fixes to GCodeSender, including compilation on older OS X and DTR reset
This commit is contained in:
parent
e50bbc0245
commit
21a5d6e137
4 changed files with 112 additions and 59 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue