Addresses brake error review comment

This commit is contained in:
Ted Slesinski
2017-06-20 02:51:58 -04:00
parent 5bbdee5b1d
commit bc57d65c36

View File

@@ -183,8 +183,7 @@ class CarController(object):
print "STEER ERROR"
self.controls_allowed = False
# crvtodo, fix brake error, might be issue with dbc.
if CS.brake_error and not CS.crv:
if CS.brake_error:
print "BRAKE ERROR"
self.controls_allowed = False