diff --git a/civcontrol.go b/civcontrol.go index 4850bd9..0941234 100644 --- a/civcontrol.go +++ b/civcontrol.go @@ -481,7 +481,7 @@ func (s *civControlStruct) init(st *serialStream) error { return nil } -func (s *civControlStruct) deinit(st *serialStream) { +func (s *civControlStruct) deinit() { if s.vdReadTimer != nil { s.vdReadTimer.Stop() s.vdReadTimer = nil