debug: add trace to debug steering
This commit is contained in:
parent
c42086a837
commit
a17b818962
@ -87,6 +87,7 @@ func (p *Pca9685Part) onSteeringChange(_ MQTT.Client, message MQTT.Message) {
|
|||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
zap.S().Debugf("new steering value: %v", steering.GetSteering())
|
||||||
p.muSteering.Lock()
|
p.muSteering.Lock()
|
||||||
defer p.muSteering.Unlock()
|
defer p.muSteering.Unlock()
|
||||||
p.steeringCtrl.SetPercentValue(steering.GetSteering())
|
p.steeringCtrl.SetPercentValue(steering.GetSteering())
|
||||||
|
Loading…
Reference in New Issue
Block a user