From 2aedacd0aaaf5ea17d4693f2675a662ac0d54817 Mon Sep 17 00:00:00 2001 From: ajouatom Date: Fri, 7 Feb 2025 20:23:17 +0900 Subject: [PATCH] fix.. hyundai safety... --- panda/board/safety/safety_hyundai_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }