card: fix return signature for update_events

old-commit-hash: c9f9eba61430269371f7d4be430a4bd64b2f2a9d
This commit is contained in:
Shane Smiskol
2024-08-16 00:56:31 -07:00
parent 7931926366
commit 8dbf878f76

View File

@@ -161,7 +161,7 @@ class Car:
return CS
def update_events(self, CS: car.CarState) -> car.CarState:
def update_events(self, CS: car.CarState):
self.events.clear()
CS.events = self.car_events.update(self.CI.CS, self.CS_prev, self.CI.CC, self.CC_prev).to_msg()