aboutsummaryrefslogtreecommitdiffstats
path: root/src/can/can-decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can/can-decoder.cpp')
-rw-r--r--src/can/can-decoder.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/can/can-decoder.cpp b/src/can/can-decoder.cpp
index 467261a..8843059 100644
--- a/src/can/can-decoder.cpp
+++ b/src/can/can-decoder.cpp
@@ -152,12 +152,6 @@ openxc_DynamicField decoder_t::stateDecoder(can_signal_t& signal,
openxc_DynamicField decoder_t::translateSignal(can_signal_t& signal, can_message_t& message,
const std::vector<can_signal_t>& signals)
{
- if(&signal == nullptr || &message == nullptr)
- {
- openxc_DynamicField ret = {0, openxc_DynamicField_Type_BOOL, 0, "", 0, 0, 0, 0};
- return ret;
- }
-
float value = decoder_t::parseSignalBitfield(signal, message);
DEBUG(binder_interface, "translateSignal: Decoded message from parseSignalBitfield: %f", value);