can msg tx: do not ignore bus argument (#5124)

bus argument was introduces in 12c899ddca
but was ignored.
This commit is contained in:
Andrey G 2023-02-24 00:17:27 +03:00 committed by GitHub
parent ddab1536de
commit 298830ed82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ CanTxMessage::CanTxMessage(CanCategory category, uint32_t eid, uint8_t dlc, size
setDlc(dlc);
setBus(0);
setBus(bus);
memset(m_frame.data8, 0, sizeof(m_frame.data8));
#endif // HAL_USE_CAN || EFI_UNIT_TEST