- /// Initialize Diagnostic manager that will handle obd2 requests
- diagnostic_manager_t& diag_manager = configuration_t::instance().get_diagnostic_manager();
- diag_manager.initialize(can_bus_manager.get_can_devices().front());
+ /// Initialize Diagnostic manager that will handle obd2 requests.
+ /// We pass by default the first CAN bus device to its Initialization.
+ /// TODO: be able to choose the CAN bus device that will be use as Diagnostic bus.
+ configuration_t::instance().get_diagnostic_manager().initialize(can_bus_manager.get_can_devices().front());