summaryrefslogtreecommitdiff
path: root/src/rhctl/audio_switch.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl/audio_switch.go')
-rw-r--r--src/rhctl/audio_switch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rhctl/audio_switch.go b/src/rhctl/audio_switch.go
index 8202e60..3da62ca 100644
--- a/src/rhctl/audio_switch.go
+++ b/src/rhctl/audio_switch.go
@@ -37,7 +37,7 @@ func (sw *AudioSwitch) Run() {
func SwitchInit(dev string, rate Baudrate) (sw *AudioSwitch, err error) {
sw = &AudioSwitch{}
- if sw.port, err = SerialOpenAndHandle(dev, rate); err != nil {
+ if sw.port, err = SerialOpenAndHandle(dev, rate, ""); err != nil {
err = fmt.Errorf("Error opening switch port: %s", err)
return
}