diff options
Diffstat (limited to 'low-can-binding/can/can-encoder.cpp')
-rw-r--r-- | low-can-binding/can/can-encoder.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/low-can-binding/can/can-encoder.cpp b/low-can-binding/can/can-encoder.cpp index d90e08da..4f1efa2a 100644 --- a/low-can-binding/can/can-encoder.cpp +++ b/low-can-binding/can/can-encoder.cpp @@ -43,12 +43,12 @@ const can_frame encoder_t::build_frame(const std::shared_ptr<can_signal_t>& sign { float last_value = sig->get_last_value(); bitfield_encode_float(last_value, - sig->get_bit_position(), - sig->get_bit_size(), - sig->get_factor(), - sig->get_offset(), - cf.data, - CAN_MAX_DLEN); + sig->get_bit_position(), + sig->get_bit_size(), + sig->get_factor(), + sig->get_offset(), + cf.data, + CAN_MAX_DLEN); } return cf; |