MADS: Honda: Allow steering (#66)

This commit is contained in:
Jason Wen
2025-01-19 01:17:02 -05:00
committed by GitHub
parent 7b0e3f1955
commit d3252abcc4

View File

@@ -276,7 +276,7 @@ static bool honda_tx_hook(const CANPacket_t *to_send) {
// STEER: safety check
if ((addr == 0xE4) || (addr == 0x194)) {
if (!controls_allowed) {
if (!(controls_allowed || mads_is_lateral_control_allowed_by_mads())) {
bool steer_applied = GET_BYTE(to_send, 0) | GET_BYTE(to_send, 1);
if (steer_applied) {
tx = false;