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/system/zmodem | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/system/zmodem')
-rw-r--r-- | apps/system/zmodem/host/crc32.c | 2 | ||||
-rw-r--r-- | apps/system/zmodem/host/nuttx/compiler.h | 2 | ||||
-rw-r--r-- | apps/system/zmodem/zm_proto.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/system/zmodem/host/crc32.c b/apps/system/zmodem/host/crc32.c index 01b92a32c..d2b8815ff 100644 --- a/apps/system/zmodem/host/crc32.c +++ b/apps/system/zmodem/host/crc32.c @@ -50,7 +50,7 @@ /************************************************************************************************ * Private Data ************************************************************************************************/ - + static const uint32_t crc32_tab[] = { 0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419, 0x706af48f, 0xe963a535, 0x9e6495a3, diff --git a/apps/system/zmodem/host/nuttx/compiler.h b/apps/system/zmodem/host/nuttx/compiler.h index fc029063e..f71dcff09 100644 --- a/apps/system/zmodem/host/nuttx/compiler.h +++ b/apps/system/zmodem/host/nuttx/compiler.h @@ -102,7 +102,7 @@ */ # define naked_function __attribute__ ((naked,no_instrument_function)) - + /* The inline_function attribute informs GCC that the function should always * be inlined, regardless of the level of optimization. The noinline_function * indicates that the function should never be inlined. diff --git a/apps/system/zmodem/zm_proto.c b/apps/system/zmodem/zm_proto.c index f730a984c..05edc46f6 100644 --- a/apps/system/zmodem/zm_proto.c +++ b/apps/system/zmodem/zm_proto.c @@ -313,7 +313,7 @@ int zm_sendhexhdr(FAR struct zm_state_s *pzm, int type, } /* crc-1 crc-2 */ - + crc = crc16part(g_zeroes, 2, crc); ptr = zm_puthex8(ptr, (crc >> 8) & 0xff); ptr = zm_puthex8(ptr, crc & 0xff); @@ -346,7 +346,7 @@ int zm_sendhexhdr(FAR struct zm_state_s *pzm, int type, * 16-bit binary header: * ZPAD ZDLE ZBIN type f3/p0 f2/p1 f1/p2 f0/p3 crc-1 crc-2 * Payload length: 7 (type, 4 bytes data, 2 byte CRC) - * + * * Input Parameters: * pzm - Zmodem session state * type - Header type {ZSINIT, ZFILE, ZDATA, ZDATA} |