diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-20 17:40:55 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-20 17:40:55 +0200 |
commit | cfea1927c8f4fe4fcd5981284abb64da990940e0 (patch) | |
tree | a883ece14a61b157441e23cbb8e7452f60f207b4 /CAN-binder | |
parent | abf974815dc03c17a8ad7c6c749d53698cdd8dc1 (diff) |
Remove timeout socket option.
This will be handle by BCM socket
Change-Id: Ie0348135fcc596ab21727846f3b47751664c9e11
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-bus-dev.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CAN-binder/low-can-binding/can/can-bus-dev.cpp b/CAN-binder/low-can-binding/can/can-bus-dev.cpp index 81e8f30..6bd5e67 100644 --- a/CAN-binder/low-can-binding/can/can-bus-dev.cpp +++ b/CAN-binder/low-can-binding/can/can-bus-dev.cpp @@ -65,8 +65,6 @@ void can_bus_dev_t::configure() const int timestamp_on = 1; const int canfd_on = 1; - // Set timeout for read - can_socket_.setopt(SOL_SOCKET, SO_RCVTIMEO, (char *)&timeout, sizeof(timeout)); DEBUG(binder_interface, "open_raw: CAN Handler socket correctly initialized : %d", can_socket_.socket()); // Set timestamp for receveid frame |