diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
commit | 43ec94a665e13552402ff4f102e0f65f6792cf29 (patch) | |
tree | 05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/can/can_main.c | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/examples/can/can_main.c')
-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 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; |