Skip to content

Commit

Permalink
CommsInjection: set a default timeout (reduce exceptions on read)
Browse files Browse the repository at this point in the history
  • Loading branch information
meee1 committed Jul 10, 2024
1 parent d738a8a commit c91c197
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExtLibs/Comms/CommsInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public int BytesToRead

public string PortName { get; set; }
public int ReadBufferSize { get; set; }
public int ReadTimeout { get; set; }
public int ReadTimeout { get; set; } = 50;
public bool RtsEnable { get; set; }

public int WriteBufferSize { get; set; }
Expand Down

0 comments on commit c91c197

Please sign in to comment.