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/flash_test | |
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/examples/flash_test')
-rw-r--r-- | apps/examples/flash_test/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/flash_test/README.txt | 2 | ||||
-rw-r--r-- | apps/examples/flash_test/flash_test.c | 12 |
3 files changed, 8 insertions, 8 deletions
diff --git a/apps/examples/flash_test/Makefile b/apps/examples/flash_test/Makefile index d8c9e5c74..b92a7aaa9 100644 --- a/apps/examples/flash_test/Makefile +++ b/apps/examples/flash_test/Makefile @@ -71,7 +71,7 @@ ROOTDEPPATH = --dep-path . # Common build -VPATH = +VPATH = all: .built .PHONY: context depend clean distclean diff --git a/apps/examples/flash_test/README.txt b/apps/examples/flash_test/README.txt index 60fcc4ebb..667903775 100644 --- a/apps/examples/flash_test/README.txt +++ b/apps/examples/flash_test/README.txt @@ -12,7 +12,7 @@ NOTE: This test uses internal OS interfaces and so is not available in the NUTT Usage: flash_test mtdblock_device - + Additional options: --force to replace existing installation diff --git a/apps/examples/flash_test/flash_test.c b/apps/examples/flash_test/flash_test.c index 7c67580d1..92821040b 100644 --- a/apps/examples/flash_test/flash_test.c +++ b/apps/examples/flash_test/flash_test.c @@ -100,9 +100,9 @@ int flash_test_main(int argc, char *argv[]) goto errout_with_driver; } - /* Test if the device is formatted. If not, then we must do a + /* Test if the device is formatted. If not, then we must do a * low-level format first */ - + if (!(fmt.flags & SMART_FMT_ISFORMATTED)) { /* Perform a low-level format */ @@ -160,16 +160,16 @@ int flash_test_main(int argc, char *argv[]) { /* Allocate a new sector */ - logsector = inode->u.i_bops->ioctl(inode, BIOC_ALLOCSECT, + logsector = inode->u.i_bops->ioctl(inode, BIOC_ALLOCSECT, (unsigned long) -1); if (logsector < 0) { fprintf(stderr, "Error allocating sector: %d\n", logsector); - goto errout_with_driver; + goto errout_with_driver; } /* Save the sector in our array */ - + sectors[x] = (uint16_t) logsector; seqs[x] = seq++; @@ -190,7 +190,7 @@ int flash_test_main(int argc, char *argv[]) printf("\r%d ", sectors[x]); } - /* Now read the data back to validate everything was written and can + /* Now read the data back to validate everything was written and can * be read. */ printf("\nDoing read verify test\n"); |