From 990b25bf850f797f499a326713cad1f7076ab8d1 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 13 Mar 2017 23:11:52 +0100 Subject: Improve: DEBUG messages. Change-Id: Ib52f22e7bc5bc5d14edbb31ad6006caee23c4098 Signed-off-by: Romain Forlot --- src/can/can-bus.cpp | 2 +- src/utils/signals.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/can/can-bus.cpp b/src/can/can-bus.cpp index ebfd7ce..6483fd9 100644 --- a/src/can/can-bus.cpp +++ b/src/can/can-bus.cpp @@ -121,7 +121,7 @@ int can_bus_t::process_diagnostic_signals(active_diagnostic_request_t* entry, co processed_signals++; } else - DEBUG(binder_interface, "Fatal error sending or receiving diagnostic request"); + DEBUG(binder_interface, "process_diagnostic_signals: Fatal error sending or receiving diagnostic request"); } else if(!response.completed && response.multi_frame) // Reset the timeout clock while completing the multi-frame receive diff --git a/src/utils/signals.cpp b/src/utils/signals.cpp index 9e71929..1ce932d 100644 --- a/src/utils/signals.cpp +++ b/src/utils/signals.cpp @@ -71,6 +71,6 @@ std::vector find_signals(const openxc_DynamicField &key) ERROR(binder_interface, "find_signals: wrong openxc_DynamicField specified. Use openxc_DynamicField_Type_NUM or openxc_DynamicField_Type_STRING type only."); break; } - DEBUG(binder_interface, "Found %d signal(s)", (int)found_signals_name.size()); + DEBUG(binder_interface, "find_signals: Found %d signal(s)", (int)found_signals_name.size()); return found_signals_name; } -- cgit 1.2.3-korg