aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/can-utils.hpp')
-rw-r--r--src/can-utils.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/can-utils.hpp b/src/can-utils.hpp
index 76dc75b3..5938169a 100644
--- a/src/can-utils.hpp
+++ b/src/can-utils.hpp
@@ -50,8 +50,8 @@
*
* @return a decoded value in an openxc_DynamicField struct.
*/
-typedef openxc_DynamicField (*SignalDecoder)(struct CanSignal* signal,
- CanSignal* signals, int signalCount, float value, bool* send);
+typedef openxc_DynamicField (*SignalDecoder)(const struct CanSignal& signal,
+ const CanSignal& signals, float value, bool* send);
/**
* @brief: The type signature for a CAN signal encoder.
@@ -463,7 +463,7 @@ typedef struct CanSignal CanSignal;
* outgoing CAN messages.
*/
struct CanMessageDefinition {
- struct CanBus* bus; /*!< bus - A pointer to the bus this message is on. */
+ //can_bus_dev_t bus; /*!< bus - A pointer to the bus this message is on. */
uint32_t id; /*!< id - The ID of the message.*/
CanMessageFormat format; /*!< format - the format of the message's ID.*/
FrequencyClock frequencyClock; /*!< clock - an optional frequency clock to control the output of this