Skip to content

Commit

Permalink
not sure we want this
Browse files Browse the repository at this point in the history
  • Loading branch information
adeebshihadeh committed Feb 5, 2022
1 parent 62e0bd5 commit c05bff5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions selfdrive/car/volkswagen/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,6 @@ def update(self, c, can_strings):
ret.canValid = self.cp.can_valid and self.cp_cam.can_valid
ret.steeringRateLimited = self.CC.steer_rate_limited if self.CC is not None else False

# TODO: add a field for this to carState, car interface code shouldn't write params
# Update the device metric configuration to match the car at first startup,
# or if there's been a change.
#if self.CS.displayMetricUnits != self.displayMetricUnitsPrev:
# put_nonblocking("IsMetric", "1" if self.CS.displayMetricUnits else "0")

# Check for and process state-change events (button press or release) from
# the turn stalk switch or ACC steering wheel/control stalk buttons.
for button in self.CS.buttonStates:
Expand Down

0 comments on commit c05bff5

Please sign in to comment.