diff options
author | 2017-03-13 23:11:52 +0100 | |
---|---|---|
committer | 2017-03-16 17:15:55 +0100 | |
commit | 990b25bf850f797f499a326713cad1f7076ab8d1 (patch) | |
tree | cd7462ced7e7f77db5b35d9820b6b7628507c8e7 /src | |
parent | c6e3d9484ac4321e586586005269521b92e99027 (diff) |
Improve: DEBUG messages.
Change-Id: Ib52f22e7bc5bc5d14edbb31ad6006caee23c4098
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r-- | src/can/can-bus.cpp | 2 | ||||
-rw-r--r-- | src/utils/signals.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<std::string> 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; } |