NFS update; fix STM32 enabling of CAN2 clock

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4494 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo
2012-03-17 00:25:34 +00:00
parent 2286099a15
commit 310e63cd28
15 changed files with 2882 additions and 1055 deletions
+6 -6
View File
@@ -229,10 +229,10 @@ int MAIN_NAME(int argc, char *argv[])
errval = 3;
goto errout_with_dev;
}
#ifndef CONFIG_EXAMPLES_CAN_READWRITE
message(" ID: %4d DLC: %d\n", msgid, msgdlc);
#endif
#ifdef CONFIG_EXAMPLES_CAN_WRITEONLY
message(" ID: %4d DLC: %d\n", msgid, msgdlc);
#endif
/* Read the RX message */
@@ -246,10 +246,10 @@ int MAIN_NAME(int argc, char *argv[])
errval = 4;
goto errout_with_dev;
}
#ifndef CONFIG_EXAMPLES_CAN_READWRITE
message(" ID: %4d DLC: %d\n", rxmsg.cm_hdr.id, rxmsg.cm_hdr.dlc);
#endif
#ifndef CONFIG_EXAMPLES_CAN_READONLY
message(" ID: %4d DLC: %d\n", rxmsg.cm_hdr.id, rxmsg.cm_hdr.dlc);
#endif
/* Verify that the received messages are the same */