diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-17 00:25:34 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-03-17 00:25:34 +0000 |
commit | 310e63cd2808fd351da7110fafebfc9dd94b516e (patch) | |
tree | d804b0e2d827efc2e2d2ed6c7255ba7c813dc124 /apps | |
parent | 2286099a155d9acd808665a1a86c382f3be8466e (diff) | |
download | px4-firmware-310e63cd2808fd351da7110fafebfc9dd94b516e.tar.gz px4-firmware-310e63cd2808fd351da7110fafebfc9dd94b516e.tar.bz2 px4-firmware-310e63cd2808fd351da7110fafebfc9dd94b516e.zip |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/examples/can/can_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/examples/can/can_main.c b/apps/examples/can/can_main.c index c7b0859ba..0ea729e5e 100644 --- a/apps/examples/can/can_main.c +++ b/apps/examples/can/can_main.c @@ -229,11 +229,11 @@ int MAIN_NAME(int argc, char *argv[]) errval = 3; goto errout_with_dev; } +#endif -#ifndef CONFIG_EXAMPLES_CAN_READWRITE +#ifdef CONFIG_EXAMPLES_CAN_WRITEONLY message(" ID: %4d DLC: %d\n", msgid, msgdlc); #endif -#endif /* Read the RX message */ @@ -246,11 +246,11 @@ int MAIN_NAME(int argc, char *argv[]) errval = 4; goto errout_with_dev; } +#endif -#ifndef CONFIG_EXAMPLES_CAN_READWRITE +#ifndef CONFIG_EXAMPLES_CAN_READONLY message(" ID: %4d DLC: %d\n", rxmsg.cm_hdr.id, rxmsg.cm_hdr.dlc); #endif -#endif /* Verify that the received messages are the same */ |