From 8817dc24a26eb829930d0a3c3f4c8a04b748387f Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Sat, 22 Apr 2017 17:38:23 +0200 Subject: Use BCM socket as default cleaning up the old RAW socket code. Also use CAN FD frames by default. Change-Id: I5bad10e537653b1a96c2e3012d38dde8627d3caa Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/utils/socket.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CAN-binder/low-can-binding/utils/socket.hpp') diff --git a/CAN-binder/low-can-binding/utils/socket.hpp b/CAN-binder/low-can-binding/utils/socket.hpp index 2da2dfe5..b981ad3e 100644 --- a/CAN-binder/low-can-binding/utils/socket.hpp +++ b/CAN-binder/low-can-binding/utils/socket.hpp @@ -34,7 +34,7 @@ namespace utils explicit operator bool() const; int socket() const; - int open(std::string device_name, bool bcm=false); + int open(std::string device_name); int setopt(int level, int optname, const void* optval, socklen_t optlen); ssize_t send(const struct canfd_frame& f); int close(); -- cgit 1.2.3-korg