fix: renable handle TERM signals

This commit is contained in:
Cyrille Nofficial 2022-05-30 18:53:19 +02:00
parent d15a7b53f9
commit 1057bad1f5

View File

@ -84,6 +84,9 @@ func main() {
sc := arduino.NewAsymetricPWMSteeringConfig(steeringLeftPWM, steeringRightPWM, steeringCenterPWM)
a := arduino.NewPart(client, device, baud, throttleTopic, steeringTopic, driveModeTopic, switchRecordTopic, pubFrequency, sc)
cli.HandleExit(a)
err = a.Start()
if err != nil {
zap.S().Errorw("unable to start service", "error", err)