diff --git a/examples/mtdrwb/mtdrwb_main.c b/examples/mtdrwb/mtdrwb_main.c index f967a2aad..4fc347e4e 100644 --- a/examples/mtdrwb/mtdrwb_main.c +++ b/examples/mtdrwb/mtdrwb_main.c @@ -55,6 +55,7 @@ /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ + /* Configuration ************************************************************/ #if !defined(CONFIG_MTD_WRBUFFER) && !defined(CONFIG_MTD_READAHEAD) @@ -75,7 +76,9 @@ # error "CONFIG_RAMMTD is required without CONFIG_EXAMPLES_MTDRWB_ARCHINIT" # endif -/* This must exactly match the default configuration in drivers/mtd/rammtd.c */ +/* This must exactly match the default configuration in + * drivers/mtd/rammtd.c + */ # ifndef CONFIG_RAMMTD_ERASESIZE # define CONFIG_RAMMTD_ERASESIZE 4096 @@ -110,6 +113,7 @@ struct mtdweb_filedesc_s /**************************************************************************** * Private Data ****************************************************************************/ + /* Pre-allocated simulated flash */ #ifndef CONFIG_EXAMPLES_MTDRWB_ARCHINIT @@ -209,7 +213,8 @@ int main(int argc, FAR char *argv[]) /* Get the geometry of the FLASH device */ - ret = mtdrwb->ioctl(mtdrwb, MTDIOC_GEOMETRY, (unsigned long)((uintptr_t)&geo)); + ret = mtdrwb->ioctl(mtdrwb, MTDIOC_GEOMETRY, + (unsigned long)((uintptr_t)&geo)); if (ret < 0) { ferr("ERROR: mtdrwb->ioctl failed: %d\n", ret);