From cc48ab799cf5357f4d573d80c07f6843e50bc8e8 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 12 Dec 2019 10:35:38 +0100 Subject: diag_mngr: No diagnostic msg if no diagnostic_bus Change-Id: I840fc6cc7e9cfd171b03cac508fedb8ece4b976d Signed-off-by: Romain Forlot --- low-can-binding/binding/low-can-cb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'low-can-binding/binding/low-can-cb.cpp') diff --git a/low-can-binding/binding/low-can-cb.cpp b/low-can-binding/binding/low-can-cb.cpp index 0bee7ef4..5e03c754 100644 --- a/low-can-binding/binding/low-can-cb.cpp +++ b/low-can-binding/binding/low-can-cb.cpp @@ -79,7 +79,7 @@ int config_low_can(afb_api_t apiHandle, CtlSectionT *section, json_object *json_ /// Initialize Diagnostic manager that will handle obd2 requests. /// We pass by default the first CAN bus device to its Initialization. if(! diagnotic_bus || application_t::instance().get_diagnostic_manager().initialize(diagnotic_bus)) - AFB_WARNING("Diagnostic Manager: not initialized"); + AFB_WARNING("Diagnostic Manager: not initialized. No diagnostic messages will be processed."); return 0; } -- cgit 1.2.3-korg