Skip to content
Snippets Groups Projects
Commit c3e4fb4e authored by Thomas Oster's avatar Thomas Oster
Browse files

Merge pull request #35 from pelrun/develop

Fix Smoothieboard not responding when connected via serial
parents 3c340ea3 7df44fa2
No related branches found
No related tags found
No related merge requests found
...@@ -503,6 +503,7 @@ public class GenericGcodeDriver extends LaserCutter { ...@@ -503,6 +503,7 @@ public class GenericGcodeDriver extends LaserCutter {
{ {
SerialPort sp = (SerialPort) port; SerialPort sp = (SerialPort) port;
sp.setSerialPortParams(getBaudRate(), 8, 1, 0); sp.setSerialPortParams(getBaudRate(), 8, 1, 0);
sp.setDTR(true);
} }
out = new PrintStream(port.getOutputStream(), true, "US-ASCII"); out = new PrintStream(port.getOutputStream(), true, "US-ASCII");
in = new BufferedReader(new InputStreamReader(port.getInputStream())); in = new BufferedReader(new InputStreamReader(port.getInputStream()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment