LGTM fixes (#1480)

This commit is contained in:
Adeeb
2020-05-09 16:40:43 -07:00
committed by GitHub
parent b95f45f072
commit 008700a6b3
10 changed files with 14 additions and 26 deletions
-4
View File
@@ -64,11 +64,7 @@ def steer_thread():
#print "enable", enabled, "steer", actuators.steer, "accel", actuators.gas - actuators.brake
hud_alert = 0
audible_alert = 0
if joystick.testJoystick.buttons[2]:
audible_alert = "beepSingle"
if joystick.testJoystick.buttons[3]:
audible_alert = "chimeRepeated"
hud_alert = "steerRequired"
CC.actuators.gas = actuators.gas