Skip to content

Commit

Permalink
#26 Gcode lines need retrun carrage and new line to process
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed May 12, 2016
1 parent de2d3f3 commit c4e1ec4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ private String getLine(){

@Override
public String runLine(String line) {
if(!line.endsWith("\n"))
line = line+"\n";
if(!line.endsWith("\r\n"))
line = line+"\r\n";
try {
//synchronized(outs){
outs.write(line.getBytes());
Expand Down

0 comments on commit c4e1ec4

Please sign in to comment.