Skip to content

Commit

Permalink
Silence a noisy log message.
Browse files Browse the repository at this point in the history
  • Loading branch information
peplin committed Jan 5, 2014
1 parent ef06cb3 commit 45a922c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/isotp/receive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 45a922c

Please sign in to comment.