aboutsummaryrefslogtreecommitdiffstats
path: root/src/isotp/receive.c
diff options
context:
space:
mode:
authorChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-05 18:56:05 -0500
committerChristopher Peplin <chris.peplin@rhubarbtech.com>2014-01-05 18:56:05 -0500
commit45a922c926843db4a9f4a90d00ee69c8dccece54 (patch)
tree8f7a4dbffadebab8cde60982eddea104cf79b0f5 /src/isotp/receive.c
parentef06cb3a05d45df7a04cf91ab5c0b233fdf2bd48 (diff)
Silence a noisy log message.
Diffstat (limited to 'src/isotp/receive.c')
-rw-r--r--src/isotp/receive.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/isotp/receive.c b/src/isotp/receive.c
index 65390648..792afda9 100644
--- a/src/isotp/receive.c
+++ b/src/isotp/receive.c
@@ -41,8 +41,11 @@ IsoTpMessage isotp_continue_receive(IsoTpShims* shims,
if(handle->arbitration_id != arbitration_id) {
if(shims->log != NULL) {
- shims->log("The arb ID 0x%x doesn't match the expected rx ID 0x%x",
- arbitration_id, handle->arbitration_id);
+ // You may turn this on for debugging, but in normal operation it's
+ // very noisy if you are passing all received CAN messages to this
+ // handler.
+ /* shims->log("The arb ID 0x%x doesn't match the expected rx ID 0x%x", */
+ /* arbitration_id, handle->arbitration_id); */
}
return message;
}