aboutsummaryrefslogtreecommitdiffstats
path: root/CAN-binder/low-can-binding/diagnostic
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-16 12:43:02 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-19 11:36:43 +0200
commit6d7ae0d5683b89e5d64718f4f6bf71b335709ff5 (patch)
tree304e5967a0c4684cb913b8d241ed902fa35514b8 /CAN-binder/low-can-binding/diagnostic
parent242f0f5c08dbf5d80734d64311fcd6ac29852a81 (diff)
Fix: be able to receive new response from OBD2 requests.
Change-Id: Iab309e313f63beb4b56bc824ece1b3a5e42ae508 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/diagnostic')
-rw-r--r--CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
index eb9a3441..36413d95 100644
--- a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
+++ b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
@@ -558,7 +558,7 @@ openxc_VehicleMessage diagnostic_manager_t::relay_diagnostic_response(active_dia
}
// Reset the completed flag handle to make sure that it will be reprocessed the next time.
- adr->get_handle()->completed = false;
+ adr->get_handle()->success = false;
return message;
}