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
This commit is contained in:
parent
a1e3f34808
commit
b10bc205e1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user