Skip to content

Commit

Permalink
Subaru: remove GM leftover
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiasini committed Mar 20, 2019
1 parent 20c76ad commit 9b5b696
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions board/safety/safety_subaru.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ int subaru_cruise_engaged_last = 0;
int subaru_rt_torque_last = 0;
int subaru_desired_torque_last = 0;
uint32_t subaru_ts_last = 0;
int subaru_supercruise_on = 0;
struct sample_t subaru_torque_driver; // last few driver torques measured


Expand Down Expand Up @@ -86,7 +85,7 @@ static int subaru_tx_hook(CAN_FIFOMailBox_TypeDef *to_send) {
subaru_ts_last = ts;
}

if (violation || subaru_supercruise_on) {
if (violation) {
return false;
}

Expand Down

0 comments on commit 9b5b696

Please sign in to comment.