Silence a noisy log message.

This commit is contained in:
Christopher Peplin 2014-01-05 18:56:05 -05:00
parent ef06cb3a05
commit 45a922c926
1 changed files with 5 additions and 2 deletions

View File

@ -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;
}