summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-13 18:42:59 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-21 12:02:10 +0200
commit3a0d2a4a74e548c3ef19b19c72bf28a3da8796bf (patch)
treefc339ff12814048e91f2e82e2ab4d9129eebf9c6
parentd84ecc4fa0d426c55c544a76aa81e73cb91e8ac4 (diff)
Signal isn't required so now have a default value
We could want to send a message through the bus not attached to a can_signal_t object in case of complete RAW message Change-Id: I133671f8cdcc52a98c8bde9e343c0dc7edcb366e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--low-can-binding/binding/low-can-socket.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/low-can-binding/binding/low-can-socket.hpp b/low-can-binding/binding/low-can-socket.hpp
index 49e9f93..3621a3d 100644
--- a/low-can-binding/binding/low-can-socket.hpp
+++ b/low-can-binding/binding/low-can-socket.hpp
@@ -86,5 +86,5 @@ public:
int create_rx_filter(std::shared_ptr<diagnostic_message_t> sig);
int create_rx_filter(utils::simple_bcm_msg& bcm_msg);
- int tx_send(const struct can_frame& cf, std::shared_ptr<can_signal_t> sig);
+ int tx_send(const struct can_frame& cf, std::shared_ptr<can_signal_t> sig = nullptr);
};