Open AdamSLevy opened 6 years ago
When attempting to open a port without specifying a baud rate an error should be returned. On Linux a nil error and nil port is returned.
On line 49 in serial_linux.go you can see that the return occurs before any error is set.
It is also possible that this error is also occurring in the Windows implementation but I can't test that. On line 211 in serial_windows.go a syscall is made but the baud rate is never checked up to this point.
When attempting to open a port without specifying a baud rate an error should be returned. On Linux a nil error and nil port is returned.
On line 49 in serial_linux.go you can see that the return occurs before any error is set.
It is also possible that this error is also occurring in the Windows implementation but I can't test that. On line 211 in serial_windows.go a syscall is made but the baud rate is never checked up to this point.