Skip to content
Snippets Groups Projects
Commit 985a5f7f authored by quillford's avatar quillford
Browse files

fix for "Underlying input stream returned zero bytes"

timeout would cause the following error: "java.io.IOException: Underlying input stream returned zero bytes"
parent dd808c8f
No related branches found
No related tags found
No related merge requests found
...@@ -409,7 +409,7 @@ public class GenericGcodeDriver extends LaserCutter { ...@@ -409,7 +409,7 @@ public class GenericGcodeDriver extends LaserCutter {
port = i.open("VisiCut", 1000); port = i.open("VisiCut", 1000);
try try
{ {
port.enableReceiveTimeout(1000); port.enableReceiveTimeout(15000);
} }
catch (UnsupportedCommOperationException e) catch (UnsupportedCommOperationException e)
{ {
......
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