diff options
Diffstat (limited to 'src/isotp/send.c')
-rw-r--r-- | src/isotp/send.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/isotp/send.c b/src/isotp/send.c index 798fab83..e849bb2c 100644 --- a/src/isotp/send.c +++ b/src/isotp/send.c @@ -37,7 +37,7 @@ IsoTpSendHandle isotp_send_single_frame(IsoTpShims* shims, IsoTpMessage* message } shims->send_can_message(message->arbitration_id, can_data, - 1 + message->size); + shims->frame_padding ? 8 : 1 + message->size); handle.success = true; isotp_complete_send(shims, message, true, callback); return handle; |