This commit is contained in:
jakethesake420
2025-11-15 13:50:43 -06:00
parent 329753a499
commit 87ce3734ac
+1 -2
View File
@@ -204,10 +204,9 @@ static void mazda_rx_hook(const CANPacket_t *to_push) {
if (addr == MAZDA_2019_CRUISE) {
uint8_t state = GET_BYTE(to_push, 0) & 0x70U;
bool cruise_engaged = (0x30U == state);
bool cruise_ready = (0x20U == state);
bool cruise_override = (0x40U == state);
//bool cruise_disable = (state == 0x10U);
acc_main_on = cruise_ready;
acc_main_on = true;
pcm_cruise_check(cruise_engaged || cruise_override);
}
}