diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-14 17:58:22 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-02-14 17:58:22 -0500 |
commit | c01a88ba1e56d455c7187a52a5e244500a0d6b0f (patch) | |
tree | 07ac638bdb393c71ba2209b55d18d912f4cb55e7 /src/isotp/isotp.c | |
parent | 43fd60983efaaf4a475ee6a0d09395611b4aa6f8 (diff) |
Add an option to control CAN frame padding (on by default).
Fixed #1.
Diffstat (limited to 'src/isotp/isotp.c')
-rw-r--r-- | src/isotp/isotp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/isotp/isotp.c b/src/isotp/isotp.c index f115810e..ad693416 100644 --- a/src/isotp/isotp.c +++ b/src/isotp/isotp.c @@ -10,7 +10,8 @@ IsoTpShims isotp_init_shims(LogShim log, SendCanMessageShim send_can_message, IsoTpShims shims = { log: log, send_can_message: send_can_message, - set_timer: set_timer + set_timer: set_timer, + frame_padding: ISO_TP_DEFAULT_FRAME_PADDING_STATUS }; return shims; } |