aboutsummaryrefslogtreecommitdiffstats
path: root/low-can-binding/can
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-20 10:49:27 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-12-03 19:46:26 +0100
commitabd185676c3ace3c7d6427e1a1cf4964a4edae1b (patch)
tree3a4e418fcb8261a570a5fd37d42192b6ec906c8c /low-can-binding/can
parentf32854c51f59cc044e37f962ea66e4a80811c564 (diff)
decoder: fix left behind character
Change-Id: I28cf984024356925469b4971b993718276d1240f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/can')
-rw-r--r--low-can-binding/can/can-decoder.cpp1
-rw-r--r--low-can-binding/can/can-decoder.hpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/low-can-binding/can/can-decoder.cpp b/low-can-binding/can/can-decoder.cpp
index a69a70b6..7e600518 100644
--- a/low-can-binding/can/can-decoder.cpp
+++ b/low-can-binding/can/can-decoder.cpp
@@ -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);
diff --git a/low-can-binding/can/can-decoder.hpp b/low-can-binding/can/can-decoder.hpp
index 02a2c7e1..2f7823ad 100644
--- a/low-can-binding/can/can-decoder.hpp
+++ b/low-can-binding/can/can-decoder.hpp
@@ -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
+};