diff options
Diffstat (limited to 'low-can-binding')
-rw-r--r-- | low-can-binding/can/can-bus.cpp | 2 | ||||
-rw-r--r-- | low-can-binding/can/can-encoder.cpp | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/low-can-binding/can/can-bus.cpp b/low-can-binding/can/can-bus.cpp index 040cb5f8..49a6b60a 100644 --- a/low-can-binding/can/can-bus.cpp +++ b/low-can-binding/can/can-bus.cpp @@ -101,7 +101,7 @@ void can_bus_t::process_can_signals(const can_message_t& can_message, std::map<i { std::lock_guard<std::mutex> decoded_can_message_lock(decoded_can_message_mutex_); push_new_vehicle_message(subscription_id, vehicle_message); - AFB_DEBUG("%s CAN signals processed.", sig->get_name().c_str()); + AFB_DEBUG("%s CAN signals processed.", sig->get_name().c_str()); } } } 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; |