Skip to content
Snippets Groups Projects
Commit b10bc205 authored by patacongo's avatar patacongo
Browse files

Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4255 42af7a65-404d-4744-a932-0658087f49c3
parent a1e3f348
No related branches found
No related tags found
No related merge requests found
......@@ -216,12 +216,16 @@ int MAIN_NAME(int argc, char *argv[])
message("ERROR: Data does not match. DLC=%d\n", msgdlc);
for (i = 0; i < msgdlc; i++)
{
message(" %d: TX %02x RX %02x\n", txmsg.cm_data[i], rxmsg.cm_data[i]);
message(" %d: TX %02x RX %02x\n", i, txmsg.cm_data[i], rxmsg.cm_data[i]);
errval = 5;
goto errout_with_dev;
}
}
/* Report success */
message(" ID: %4d DLC: %d -- OK\n", msgid, msgdlc);
/* Set up for the next pass */
msgdata += msgdlc;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment