diff options
-rw-r--r-- | software/communication/physical.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/software/communication/physical.go b/software/communication/physical.go index e24c574..3f61590 100644 --- a/software/communication/physical.go +++ b/software/communication/physical.go @@ -41,7 +41,7 @@ func newPhysical() (physical, error) { } func (p *physical) start() { - go p.Receive() + go p.receive() } func getStSerials() ([]string, error) { @@ -75,7 +75,7 @@ func openSerial(device string) (serial.Port, error) { return port, nil } -func (p *physical) Receive() { +func (p *physical) receive() { for { buff := make([]byte, 100) n, err := p.port.Read(buff) |