more typing

pull/33208/head
Shane Smiskol 9 months ago
parent 2b164dd3e1
commit 20b34cbb00
  1. 2
      selfdrive/car/car_helpers.py

@ -147,7 +147,7 @@ def fingerprint(can_recv: CanRecvCallable, can_send: CanSendCallable, set_obd_mu
return car_fingerprint, finger, vin, car_fw, source, exact_match return car_fingerprint, finger, vin, car_fw, source, exact_match
def get_car_interface(CP): def get_car_interface(CP: CarParams):
CarInterface, CarController, CarState = interfaces[CP.carFingerprint] CarInterface, CarController, CarState = interfaces[CP.carFingerprint]
return CarInterface(CP, CarController, CarState) return CarInterface(CP, CarController, CarState)

Loading…
Cancel
Save