summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-10 09:54:18 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-10 18:45:55 +0200
commitead72ec306b1a6e8327381a5aa3b5f100057edfc (patch)
treea3b2a4d89fed181c1bb1cbe5cdc94ca533a1867d
parenta8a76223c5a028356a3b2ab429b57405f35a51c6 (diff)
Don't trigger timeout monitoring on signal.
Change-Id: Ib84c365207e32f71fc4cb7e350f99d147317fa08 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--CAN-binder/low-can-binding/can/can-signals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/CAN-binder/low-can-binding/can/can-signals.cpp b/CAN-binder/low-can-binding/can/can-signals.cpp
index ec0b311..7726bfc 100644
--- a/CAN-binder/low-can-binding/can/can-signals.cpp
+++ b/CAN-binder/low-can-binding/can/can-signals.cpp
@@ -216,7 +216,7 @@ int can_signal_t::create_rx_filter()
bcm_msg.msg_head.opcode = RX_SETUP;
bcm_msg.msg_head.can_id = can_id;
- bcm_msg.msg_head.flags = SETTIMER;
+ bcm_msg.msg_head.flags = SETTIMER|RX_NO_AUTOTIMER;
bcm_msg.msg_head.ival2.tv_sec = long(freq);
bcm_msg.msg_head.ival2.tv_usec = (freq - (long)freq) * 1000000;
bcm_msg.msg_head.nframes = 1;