From: Christopher Peplin Date: Sun, 5 Jan 2014 23:56:05 +0000 (-0500) Subject: Silence a noisy log message. X-Git-Tag: 3.99.1~104^2~10 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=45a922c926843db4a9f4a90d00ee69c8dccece54;p=apps%2Flow-level-can-service.git Silence a noisy log message. --- 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; }