summaryrefslogtreecommitdiff
path: root/software/communication/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'software/communication/interface.go')
-rw-r--r--software/communication/interface.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/software/communication/interface.go b/software/communication/interface.go
index ebd8d6b..d124a48 100644
--- a/software/communication/interface.go
+++ b/software/communication/interface.go
@@ -20,6 +20,10 @@ func NewSerialInterface() (SerialInterface, error) {
return iface, nil
}
+func (i *SerialInterface) Start() {
+ i.phy.start()
+}
+
func (i *SerialInterface) Cat() {
for {
data := <-i.phy.rx