summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can/can-encoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'low-can-binding/can/can-encoder.hpp')
-rw-r--r--low-can-binding/can/can-encoder.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/can/can-encoder.hpp b/low-can-binding/can/can-encoder.hpp
index f7e8394..c79e224 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<can_signal_t>& 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);