remove unneeded changes

This commit is contained in:
Rick Lan
2019-07-02 11:21:56 +10:00
parent a90c3bc8be
commit 6ab7c27d9b
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -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
+1
View File
@@ -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