From 5bb0cc7268f47575b46baa1d7590f2727e8e193d Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 1 Jun 2017 15:57:24 +0200 Subject: Left over renaming variable Following change from configuration_t to application_t some variable name doesn't correspond now : conf -> app Change-Id: I56c3a83113777a43af9024a9bc9b53f705b60b0f Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/binding/low-can-cb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'CAN-binder/low-can-binding/binding') diff --git a/CAN-binder/low-can-binding/binding/low-can-cb.cpp b/CAN-binder/low-can-binding/binding/low-can-cb.cpp index 712c83c..9a0c501 100644 --- a/CAN-binder/low-can-binding/binding/low-can-cb.cpp +++ b/CAN-binder/low-can-binding/binding/low-can-cb.cpp @@ -344,12 +344,12 @@ static int subscribe_unsubscribe_signal(struct afb_req request, bool subscribe, int subscribe_unsubscribe_diagnostic_messages(struct afb_req request, bool subscribe, std::vector > diagnostic_messages, struct event_filter_t& event_filter) { int rets = 0; - application_t& conf = application_t::instance(); - diagnostic_manager_t& diag_m = conf.get_diagnostic_manager(); + application_t& app = application_t::instance(); + diagnostic_manager_t& diag_m = app.get_diagnostic_manager(); for(const auto& sig : diagnostic_messages) { - DiagnosticRequest* diag_req = conf.get_request_from_diagnostic_message(sig->get_name()); + DiagnosticRequest* diag_req = app.get_request_from_diagnostic_message(sig->get_name()); float frequency = std::isnan(event_filter.frequency) ? sig->get_frequency() : event_filter.frequency; // If the requested diagnostic message isn't supported by the car then unsubcribe it -- cgit 1.2.3-korg