We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c6e2b39 commit 2281bedCopy full SHA for 2281bed
opendbc/safety/safety/safety_subaru.h
@@ -115,7 +115,7 @@ static void subaru_rx_hook(const CANPacket_t *to_push) {
115
}
116
117
// enter controls on rising edge of ACC, exit controls on ACC off
118
- if (true) {
+ if (subaru_lkas_angle) {
119
if ((addr == MSG_SUBARU_ES_CruiseControl) && (bus == SUBARU_CAM_BUS)) {
120
bool cruise_engaged = GET_BIT(to_push, 63U);
121
pcm_cruise_check(cruise_engaged);
0 commit comments