Subaru: remove GM leftover

master
Riccardo 2019-03-20 14:20:21 -07:00
parent 20c76ad592
commit 9b5b696e83
1 changed files with 1 additions and 2 deletions

View File

@ -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
@ -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;
}