diff options
Diffstat (limited to 'low-can-binding/can/can-decoder.cpp')
-rw-r--r-- | low-can-binding/can/can-decoder.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/low-can-binding/can/can-decoder.cpp b/low-can-binding/can/can-decoder.cpp index 7221d716..5fe22541 100644 --- a/low-can-binding/can/can-decoder.cpp +++ b/low-can-binding/can/can-decoder.cpp @@ -398,17 +398,6 @@ openxc_DynamicField decoder_t::translate_signal(signal_t& signal, std::shared_pt /// openxc_DynamicField decoder_t::decode_signal( signal_t& signal, std::shared_ptr<message_t> message, bool* send) { - - - if(signal.get_message()->get_flags() & CONTINENTAL_BIT_POSITION) - signal.set_bit_position(converter_t::continental_bit_position_mess(message->get_length(), - signal.get_bit_position(), - signal.get_bit_size())); - if(signal.get_message()->get_flags() & BIT_POSITION_REVERSED) - signal.set_bit_position(converter_t::bit_position_swap(message->get_length(), - signal.get_bit_position(), - signal.get_bit_size())); - signal_decoder decoder = signal.get_decoder() == nullptr ? decode_noop : signal.get_decoder(); |