From 8871f8ae696035877afcbb3b089fc06219c2ba3a Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 9 Mar 2017 16:56:56 +0100 Subject: Fix: include statement with wrong path. And minor fixes. Change-Id: Ica55c0708edd86d0aa37e7117b3c3fad551a0167 Signed-off-by: Romain Forlot --- src/diagnostic/diagnostic-message.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/diagnostic/diagnostic-message.cpp') diff --git a/src/diagnostic/diagnostic-message.cpp b/src/diagnostic/diagnostic-message.cpp index bd5d0ec..8f42653 100644 --- a/src/diagnostic/diagnostic-message.cpp +++ b/src/diagnostic/diagnostic-message.cpp @@ -89,13 +89,14 @@ bool obd2_signal_t::is_obd2_response(can_message_t can_message) } return false; */ -} + return false; +} void obd2_signal_t::add_request(int pid) { DiagnosticRequest request = { arbitration_id: OBD2_FUNCTIONAL_BROADCAST_ID, - mode: 0x1, has_pid: true, pid_ }; + mode: 0x1, has_pid: true, pid: pid_ }; } /** -- cgit 1.2.3-korg