Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyhaibin committed Dec 13, 2024
1 parent 1c1b9be commit 41fd543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion board/safety/safety_hyundai_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void hyundai_common_cruise_buttons_check(const int cruise_button, const bool mai
// enter controls on falling edge of resume or set
bool set = (cruise_button != HYUNDAI_BTN_SET) && (cruise_button_prev == HYUNDAI_BTN_SET);
bool res = (cruise_button != HYUNDAI_BTN_RESUME) && (cruise_button_prev == HYUNDAI_BTN_RESUME);
if (acc_main_on && (set || res)) {
if (set || res) {
controls_allowed = true;
}

Expand Down

0 comments on commit 41fd543

Please sign in to comment.