aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-decoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can-decoder.hpp')
-rw-r--r--src/can-decoder.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/can-decoder.hpp b/src/can-decoder.hpp
index 1b58ea3c..7f02d610 100644
--- a/src/can-decoder.hpp
+++ b/src/can-decoder.hpp
@@ -22,7 +22,6 @@
class decoder_t
{
private:
- openxc_DynamicField decoded_value;
public:
/* Public: Parse the signal's bitfield from the given data and return the raw
@@ -130,9 +129,8 @@ class decoder_t
* The decoder returns an openxc_DynamicField, which may contain a number,
* string or boolean. If 'send' is false, the return value is undefined.
*/
- openxc_DynamicField decodeSignal(const CanSignal& signal,
- const can_message_t& message, const CanSignal& signals,
- bool* send);
+ openxc_DynamicField decodeSignal(const CanSignal& signal, const can_message_t& message,
+ const std::vector<CanSignal>& signals, bool* send);
/* Public: Decode a transformed, human readable value from an raw CAN signal
* already parsed from a CAN message.
@@ -143,5 +141,5 @@ class decoder_t
* else.
*/
openxc_DynamicField decodeSignal(const CanSignal& signal, float value,
- const CanSignal& signals, bool* send);
+ const std::vector<CanSignal>& signals, bool* send);
}; \ No newline at end of file