fix: renable handle TERM signals
This commit is contained in:
parent
d15a7b53f9
commit
1057bad1f5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user