diff --git a/panda/board/safety/safety_hyundai_common.h b/panda/board/safety/safety_hyundai_common.h index b0dd336..a277526 100644 --- a/panda/board/safety/safety_hyundai_common.h +++ b/panda/board/safety/safety_hyundai_common.h @@ -74,8 +74,9 @@ void hyundai_common_cruise_state_check(const bool cruise_engaged) { } if (!cruise_engaged) { + if(controls_allowed) print("controls_allowed1 = false\n"); controls_allowed = false; - print("controls_allowed1 = false\n"); + } cruise_engaged_prev = cruise_engaged; }