mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-04 15:46:54 +08:00
card: fix return signature for update_events
old-commit-hash: c9f9eba614
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user