From eafde4cec4fc026444501ed3a096a12e6eb8fc90 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 30 May 2017 17:00:44 +0200 Subject: Renaming configuration to application It is more accurate to name it application because all its members aren't modifiable at runtime (without talking of last_value_ member and few others). Change-Id: Ica0d33dfd9c26cfdea019c2f41ed07777fb36d39 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/can/can-message-definition.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CAN-binder/low-can-binding/can/can-message-definition.cpp') diff --git a/CAN-binder/low-can-binding/can/can-message-definition.cpp b/CAN-binder/low-can-binding/can/can-message-definition.cpp index e0f55a6..28d45fe 100644 --- a/CAN-binder/low-can-binding/can/can-message-definition.cpp +++ b/CAN-binder/low-can-binding/can/can-message-definition.cpp @@ -17,7 +17,7 @@ #include "can-message-definition.hpp" -#include "../binding/configuration.hpp" +#include "../binding/application.hpp" can_message_definition_t::can_message_definition_t(const std::string bus) : parent_{nullptr}, bus_{bus}, last_value_{CAN_MESSAGE_SIZE} @@ -75,7 +75,7 @@ const std::string can_message_definition_t::get_bus_name() const const std::string can_message_definition_t::get_bus_device_name() const { - return configuration_t::instance().get_can_bus_manager() + return application_t::instance().get_can_bus_manager() .get_can_device_name(bus_); } -- cgit 1.2.3-korg