From 2a4abf5bd6440e9cd5b98b70453d74ae3d1b8cfa Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Fri, 14 Jul 2017 17:31:12 +0200 Subject: Fix: encoding value method has wrong signature. Change-Id: I227c721f782eef85f83db9ffdb7cc0e180d17da4 Signed-off-by: Romain Forlot --- low-can-binding/can/can-encoder.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'low-can-binding/can/can-encoder.hpp') diff --git a/low-can-binding/can/can-encoder.hpp b/low-can-binding/can/can-encoder.hpp index f7e8394f..c79e2245 100644 --- a/low-can-binding/can/can-encoder.hpp +++ b/low-can-binding/can/can-encoder.hpp @@ -24,7 +24,7 @@ class encoder_t { public: - static const can_frame build_frame(const can_signal_t& signal, uint64_t value); + static const can_frame build_frame(const std::shared_ptr& signal, uint64_t value); static uint64_t encode_state(const can_signal_t& signal, const std::string& value, bool* send); static uint64_t encode_boolean(const can_signal_t& signal, bool value, bool* send); static uint64_t encode_number(const can_signal_t& signal, float value, bool* send); -- cgit 1.2.3-korg