Skip to content

Commit

Permalink
Remove windows call - it is no longer used in this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreRenaud committed May 27, 2024
1 parent d3432f7 commit bdfda6f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions serial_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,12 +479,3 @@ func nativeOpen(portName string, mode *Mode) (*windowsPort, error) {
}
return port, nil
}

// enableRS485 enables RS485 functionality of driver via an ioctl if the config says so
func (port *windowsPort) enableRS485(config *RS485Config) error {
if !config.Enabled {
return &PortError{code: NoPlatformSupportForRS485, causedBy: nil}
}

return nil
}

0 comments on commit bdfda6f

Please sign in to comment.