can_msg_tx: fix canChannel unused

This commit is contained in:
Andrey Gusakov 2024-02-05 11:05:32 +03:00 committed by rusefillc
parent 994d53a28b
commit c75ef47076
1 changed files with 1 additions and 2 deletions

View File

@ -94,8 +94,7 @@ class CanTxTyped final : public CanTxMessage
#endif // EFI_CAN_SUPPORT
public:
// todo: unused 'canChannel'? BUG? https://github.com/rusefi/rusefi/issues/5675
explicit CanTxTyped(CanCategory p_category, uint32_t p_id, bool p_isExtended, bool canChannel) : CanTxMessage(p_category, p_id, sizeof(TData), p_isExtended) { }
explicit CanTxTyped(CanCategory p_category, uint32_t p_id, bool p_isExtended, size_t canChannel) : CanTxMessage(p_category, p_id, sizeof(TData), canChannel, p_isExtended) { }
#if EFI_CAN_SUPPORT
/**