fix.. hyundai safety...
This commit is contained in:
parent
5d6654afca
commit
2aedacd0aa
@ -74,8 +74,9 @@ void hyundai_common_cruise_state_check(const bool cruise_engaged) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!cruise_engaged) {
|
if (!cruise_engaged) {
|
||||||
|
if(controls_allowed) print("controls_allowed1 = false\n");
|
||||||
controls_allowed = false;
|
controls_allowed = false;
|
||||||
print("controls_allowed1 = false\n");
|
|
||||||
}
|
}
|
||||||
cruise_engaged_prev = cruise_engaged;
|
cruise_engaged_prev = cruise_engaged;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user