decoder: fix left behind character
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 20 Nov 2019 09:49:27 +0000 (10:49 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 3 Dec 2019 18:46:26 +0000 (19:46 +0100)
Change-Id: I28cf984024356925469b4971b993718276d1240f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/can-decoder.cpp
low-can-binding/can/can-decoder.hpp

index a69a70b..7e60051 100644 (file)
@@ -108,7 +108,6 @@ float decoder_t::parse_signal_bitfield(signal_t& signal, std::shared_ptr<message
 
        for(int i=new_start_byte;i<=new_end_byte;i++)
                data_signal.push_back(data[i]);
-       }
 
        int sign = handle_sign(signal, data_signal, new_end_bit, data);
 
index 02a2c7e..2f7823a 100644 (file)
@@ -38,4 +38,4 @@ public:
        static openxc_DynamicField decode_signal(signal_t& signal, std::shared_ptr<message_t> message, bool* send);
 
        static float decode_obd2_response(const DiagnosticResponse* response, float parsed_payload);
-};
\ No newline at end of file
+};