summaryrefslogtreecommitdiffstats
path: root/src/isotp/isotp.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-02-14 17:58:22 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-02-14 17:58:22 -0500
commitc01a88ba1e56d455c7187a52a5e244500a0d6b0f (patch)
tree07ac638bdb393c71ba2209b55d18d912f4cb55e7 /src/isotp/isotp.c
parent43fd60983efaaf4a475ee6a0d09395611b4aa6f8 (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.c3
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;
}