summaryrefslogtreecommitdiff
path: root/software/communication/physical.go
diff options
context:
space:
mode:
Diffstat (limited to 'software/communication/physical.go')
-rw-r--r--software/communication/physical.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/software/communication/physical.go b/software/communication/physical.go
index 0ba3690..e24c574 100644
--- a/software/communication/physical.go
+++ b/software/communication/physical.go
@@ -36,11 +36,14 @@ func newPhysical() (physical, error) {
}
p.rx = make(chan byte)
- go p.Receive()
return p, nil
}
+func (p *physical) start() {
+ go p.Receive()
+}
+
func getStSerials() ([]string, error) {
retval := make([]string, 0)