Signal isn't required so now have a default value
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 13 Jul 2017 16:42:59 +0000 (18:42 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 21 Jul 2017 10:02:10 +0000 (12:02 +0200)
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>
low-can-binding/binding/low-can-socket.hpp

index 49e9f93..3621a3d 100644 (file)
@@ -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);
 };