diff --git a/opendbc/safety/modes/toyota.h b/opendbc/safety/modes/toyota.h index 3e0a8b7c05f..0d94d2ecc54 100644 --- a/opendbc/safety/modes/toyota.h +++ b/opendbc/safety/modes/toyota.h @@ -331,7 +331,7 @@ static bool toyota_tx_hook(const CANPacket_t *msg) { // this address is sub-addressed. only allow tester present to radar (0xF) bool invalid_uds_msg = (GET_BYTES(msg, 0, 4) != 0x003E020FU) || (GET_BYTES(msg, 4, 4) != 0x0U); if (invalid_uds_msg) { - tx = 0; + tx = false; } }