diff --git a/board/safety/safety_ford.h b/board/safety/safety_ford.h index 56bc8d085c6..eea66daf99c 100644 --- a/board/safety/safety_ford.h +++ b/board/safety/safety_ford.h @@ -92,8 +92,7 @@ static int ford_rx_hook(CANPacket_t *to_push) { brake_pressed = ((GET_BYTE(to_push, 0) & 0x30U) >> 4) == 1U; // Signal: CcStat_D_Actl - unsigned int cruise_state = (GET_BYTE(to_push, 1) & 0x07U); - bool cruise_engaged = (cruise_state == 0U) || (cruise_state == 3U); + bool cruise_engaged = (GET_BYTE(to_push, 1) & 0x07U) == 5U; // Enter controls on rising edge of stock ACC, exit controls if stock ACC disengages if (cruise_engaged && !cruise_engaged_prev) {