card: fix return signature for update_events
This commit is contained in:
parent
6a5bbb261e
commit
c9f9eba614
|
@ -161,7 +161,7 @@ class Car:
|
||||||
|
|
||||||
return CS
|
return CS
|
||||||
|
|
||||||
def update_events(self, CS: car.CarState) -> car.CarState:
|
def update_events(self, CS: car.CarState):
|
||||||
self.events.clear()
|
self.events.clear()
|
||||||
|
|
||||||
CS.events = self.car_events.update(self.CI.CS, self.CS_prev, self.CI.CC, self.CC_prev).to_msg()
|
CS.events = self.car_events.update(self.CI.CS, self.CS_prev, self.CI.CC, self.CC_prev).to_msg()
|
||||||
|
|
Loading…
Reference in New Issue