From 3a0d2a4a74e548c3ef19b19c72bf28a3da8796bf Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 13 Jul 2017 18:42:59 +0200 Subject: [PATCH] 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 --- low-can-binding/binding/low-can-socket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/low-can-binding/binding/low-can-socket.hpp b/low-can-binding/binding/low-can-socket.hpp index 49e9f93e..3621a3d6 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 sig); int create_rx_filter(utils::simple_bcm_msg& bcm_msg); - int tx_send(const struct can_frame& cf, std::shared_ptr sig); + int tx_send(const struct can_frame& cf, std::shared_ptr sig = nullptr); }; -- 2.16.6