Minor
This commit is contained in:
parent
e0e9e0ea6c
commit
701ff96831
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ func NewConnection(uri, device, comset string, baudrate int, wire WireFormat, sl
|
|||
switch strings.ToUpper(comset) {
|
||||
case "8N1", "8E1":
|
||||
default:
|
||||
return nil, fmt.Errorf("invalid invalid comset: %s", comset)
|
||||
return nil, fmt.Errorf("invalid comset: %s", comset)
|
||||
}
|
||||
|
||||
if baudrate == 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue