diff --git a/selfdrive/car/honda/carcontroller.py b/selfdrive/car/honda/carcontroller.py index 8fc9db7af..d81c26f36 100644 --- a/selfdrive/car/honda/carcontroller.py +++ b/selfdrive/car/honda/carcontroller.py @@ -148,7 +148,7 @@ class CarController(object): # Send CAN commands. can_sends = [] - if (CS.left_blinker_on or CS.right_blinker_on) and params.get("d_tempDisableSteerOnSignal") == "1": + if (CS.left_blinker_on > 0 or CS.right_blinker_on > 0) and params.get("d_tempDisableSteerOnSignal") == "1": apply_steer = 0 # Send steering command. idx = frame % 4 diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index 2869d5dad..83bf921d9 100755 --- a/selfdrive/car/toyota/interface.py +++ b/selfdrive/car/toyota/interface.py @@ -9,6 +9,7 @@ from selfdrive.car.toyota.values import ECU, check_ecu_msgs, CAR, NO_STOP_TIMER_ from selfdrive.car import STD_CARGO_KG from selfdrive.swaglog import cloudlog + class CarInterface(object): def __init__(self, CP, CarController): self.CP = CP