From a17b818962c4a8c00ce9702cd4773c9a094694d2 Mon Sep 17 00:00:00 2001 From: Cyrille Nofficial Date: Fri, 25 Feb 2022 19:05:58 +0100 Subject: [PATCH] debug: add trace to debug steering --- pkg/part/part.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/part/part.go b/pkg/part/part.go index 9fee1bd..ceeb9e4 100644 --- a/pkg/part/part.go +++ b/pkg/part/part.go @@ -87,6 +87,7 @@ func (p *Pca9685Part) onSteeringChange(_ MQTT.Client, message MQTT.Message) { ) return } + zap.S().Debugf("new steering value: %v", steering.GetSteering()) p.muSteering.Lock() defer p.muSteering.Unlock() p.steeringCtrl.SetPercentValue(steering.GetSteering())