From ba0bb976bd75633c88312f8d51393fb22ea961b2 Mon Sep 17 00:00:00 2001 From: Oleg Obleukhov Date: Fri, 19 Jan 2024 09:51:27 -0800 Subject: [PATCH] fix lint Differential Revision: D52913671 --- servo/pi.go | 1 - 1 file changed, 1 deletion(-) diff --git a/servo/pi.go b/servo/pi.go index cd65806e..f93d9603 100644 --- a/servo/pi.go +++ b/servo/pi.go @@ -346,7 +346,6 @@ func (f *PiServoFilter) Sample(s *PiServoFilterSample) { freqSigmaSq += (v.freq - f.freqMean) * (v.freq - f.freqMean) }) f.freqStdev = math.Sqrt(freqSigmaSq / float64(f.offsetSamplesCount)) - } f.lastOffset = s.offset }