Fix CPP conditional syntax
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2364 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e6f6b90751
commit
447904aae2
|
@ -512,7 +512,7 @@ int ftl_initialize(int minor, uint8_t *buffer, FAR struct mtd_dev_s *mtd)
|
|||
dev->rwb.nblocks = dev->geo.neraseblocks * dev->blkper;
|
||||
dev->rwb.dev = (FAR void *)dev;
|
||||
|
||||
#ifdef defined(CONFIG_FS_WRITABLE) && defined(CONFIG_FS_WRITEBUFFER)
|
||||
#if defined(CONFIG_FS_WRITABLE) && defined(CONFIG_FS_WRITEBUFFER)
|
||||
dev->rwb.wrmaxblocks = dev->blkper;
|
||||
dev->rwb.wrflush = ftl_flush;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue