diff options
author | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 14:40:46 -0500 |
---|---|---|
committer | Christopher Peplin <chris.peplin@rhubarbtech.com> | 2014-01-03 14:40:46 -0500 |
commit | 26f5b1e5648c437e22cfcb7c87c22b40424ef198 (patch) | |
tree | b2140d475290214a25ce2ded97fc560c804b51b2 /src/obd2/obd2.c | |
parent | 8e574cb4798a928ac50ffe6cb4fa5e3d22b8003a (diff) |
Update version of isotp-c library.
Diffstat (limited to 'src/obd2/obd2.c')
-rw-r--r-- | src/obd2/obd2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/obd2/obd2.c b/src/obd2/obd2.c index 1dcb827e..d3c0fb9e 100644 --- a/src/obd2/obd2.c +++ b/src/obd2/obd2.c @@ -139,10 +139,10 @@ DiagnosticResponse diagnostic_receive_can_frame(DiagnosticShims* shims, if(!handle->isotp_send_handle.completed) { // TODO when completing a send, this returns...a Message? we have to // check when the isotp_send_handle is completed, and if it is, start - isotp_receive_can_frame(&handle->isotp_shims, + isotp_continue_send(&handle->isotp_shims, &handle->isotp_send_handle, arbitration_id, data, size); } else if(!handle->isotp_receive_handle.completed) { - IsoTpMessage message = isotp_receive_can_frame(&handle->isotp_shims, + IsoTpMessage message = isotp_continue_receive(&handle->isotp_shims, &handle->isotp_receive_handle, arbitration_id, data, size); if(message.completed) { |