Added 5 second timeout for the serial port.

Fixed problem with the GW command not working on the Autostar 497.
This commit is contained in:
2019-05-02 18:45:18 +01:00
parent ae4ba48ce2
commit 7df8da2f59
4 changed files with 180 additions and 179 deletions
@@ -62,6 +62,8 @@ namespace ASCOM.MeadeAutostar497.Controller
public void Open()
{
_serialPort.ReadTimeout = 5000;
_serialPort.WriteTimeout = 5000;
_serialPort.Open();
}