summaryrefslogtreecommitdiff
path: root/apps/examples/can
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-04-13 16:24:28 -0600
commit43ec94a665e13552402ff4f102e0f65f6792cf29 (patch)
tree05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/can
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadpx4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/examples/can')
-rw-r--r--apps/examples/can/Makefile2
-rw-r--r--apps/examples/can/can_main.c8
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/examples/can/Makefile b/apps/examples/can/Makefile
index 548c6702c..2abdd845b 100644
--- a/apps/examples/can/Makefile
+++ b/apps/examples/can/Makefile
@@ -68,7 +68,7 @@ STACKSIZE = 2048
# Common build
-VPATH =
+VPATH =
all: .built
.PHONY: context clean depend distclean
diff --git a/apps/examples/can/can_main.c b/apps/examples/can/can_main.c
index ff9e0a6ec..b3dd5aa48 100644
--- a/apps/examples/can/can_main.c
+++ b/apps/examples/can/can_main.c
@@ -250,9 +250,9 @@ int can_main(int argc, char *argv[])
if (memcmp(&txmsg.cm_hdr, &rxmsg.cm_hdr, sizeof(struct can_hdr_s)) != 0)
{
message("ERROR: Sent header does not match received header:\n");
- lib_dumpbuffer("Sent header", (FAR const uint8_t*)&txmsg.cm_hdr,
+ lib_dumpbuffer("Sent header", (FAR const uint8_t*)&txmsg.cm_hdr,
sizeof(struct can_hdr_s));
- lib_dumpbuffer("Received header", (FAR const uint8_t*)&rxmsg.cm_hdr,
+ lib_dumpbuffer("Received header", (FAR const uint8_t*)&rxmsg.cm_hdr,
sizeof(struct can_hdr_s));
errval = 4;
goto errout_with_dev;
@@ -270,7 +270,7 @@ int can_main(int argc, char *argv[])
}
/* Report success */
-
+
message(" ID: %4d DLC: %d -- OK\n", msgid, msgdlc);
#endif
@@ -278,7 +278,7 @@ int can_main(int argc, char *argv[])
#ifndef CONFIG_EXAMPLES_CAN_READONLY
msgdata += msgdlc;
-
+
if (++msgid >= MAX_ID)
{
msgid = 1;