aboutsummaryrefslogtreecommitdiffstats
path: root/src/obd2/obd2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/obd2/obd2.c')
-rw-r--r--src/obd2/obd2.c4
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) {