From 45a922c926843db4a9f4a90d00ee69c8dccece54 Mon Sep 17 00:00:00 2001 From: Christopher Peplin Date: Sun, 5 Jan 2014 18:56:05 -0500 Subject: [PATCH] Silence a noisy log message. --- src/isotp/receive.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/isotp/receive.c b/src/isotp/receive.c index 6539064..792afda 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; } -- 2.16.6