summaryrefslogtreecommitdiff
path: root/apps/examples/flash_test/flash_test.c
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/flash_test/flash_test.c
parent70b6bb22af51defd713adfd452309f32f0e523aa (diff)
downloadnuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2
nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip
More trailing whilespace removal
Diffstat (limited to 'apps/examples/flash_test/flash_test.c')
-rw-r--r--apps/examples/flash_test/flash_test.c12
1 files changed, 6 insertions, 6 deletions
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");