From: Romain Forlot Date: Thu, 13 Jul 2017 16:42:59 +0000 (+0200) Subject: Signal isn't required so now have a default value X-Git-Tag: 4.0.0~14 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=3a0d2a4a74e548c3ef19b19c72bf28a3da8796bf;p=apps%2Flow-level-can-service.git 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 --- 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 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); };