mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-21 14:42:20 +08:00
Cosmetic changes to comments
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/* If no sector size is specified wity BS=, then the following default value
|
/* If no sector size is specified with BS=, then the following default value
|
||||||
* is used.
|
* is used.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -86,26 +86,18 @@ struct dd_s
|
|||||||
uint32_t nsectors; /* Number of sectors to transfer */
|
uint32_t nsectors; /* Number of sectors to transfer */
|
||||||
uint32_t sector; /* The current sector number */
|
uint32_t sector; /* The current sector number */
|
||||||
uint32_t skip; /* The number of sectors skipped on input */
|
uint32_t skip; /* The number of sectors skipped on input */
|
||||||
bool eof; /* true: The of the input or output file has been hit */
|
bool eof; /* true: The end of the input or output file has been hit */
|
||||||
uint16_t sectsize; /* Size of one sector */
|
uint16_t sectsize; /* Size of one sector */
|
||||||
uint16_t nbytes; /* Number of valid bytes in the buffer */
|
uint16_t nbytes; /* Number of valid bytes in the buffer */
|
||||||
uint8_t *buffer; /* Buffer of data to write to the output file */
|
uint8_t *buffer; /* Buffer of data to write to the output file */
|
||||||
};
|
};
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Private Function Prototypes
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Data
|
* Private Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
static const char g_dd[] = "dd";
|
static const char g_dd[] = "dd";
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Public Data
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Private Functions
|
* Private Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
Reference in New Issue
Block a user