card: fix return signature for update_events

This commit is contained in:
Shane Smiskol 2024-08-16 00:56:31 -07:00
parent 6a5bbb261e
commit c9f9eba614
1 changed files with 1 additions and 1 deletions

View File

@ -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()