From a4705ffdb76d412bbc3999877843f886cbd41f4c Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 30 May 2024 18:21:27 +0200 Subject: software: communication: Split setup and start --- software/communication/interface.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'software/communication/interface.go') 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 -- cgit v1.2.3-70-g09d2