mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-08 01:36:31 +00:00
More trailing whilespace removal
This commit is contained in:
parent
7d961b6c93
commit
b9cf7acb1a
285 changed files with 769 additions and 769 deletions
|
|
@ -71,7 +71,7 @@ ROOTDEPPATH = --dep-path .
|
|||
|
||||
# Common build
|
||||
|
||||
VPATH =
|
||||
VPATH =
|
||||
|
||||
all: .built
|
||||
.PHONY: context depend clean distclean
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue