summaryrefslogtreecommitdiffstats
path: root/low-can-binding/can/can-encoder.cpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-11-20 19:35:22 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-11-22 11:10:10 +0100
commit731624acf76d58e1847f797e15747ccc94c052f0 (patch)
treea92d820222db9894a45fb6d45fc03c93fe26cac9 /low-can-binding/can/can-encoder.cpp
parent4b9b30af740ca98bf1452703da0de5cbfdd32bb2 (diff)
Code format and style changes
Change-Id: Icfb7cdb53deba8d82b91f884c6b815adf0f17adf Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can/can-encoder.cpp')
-rw-r--r--low-can-binding/can/can-encoder.cpp12
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;