From 447904aae23493e849dbfc0db10c318614e50141 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 17 Dec 2009 14:27:19 +0000 Subject: [PATCH] Fix CPP conditional syntax git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2364 42af7a65-404d-4744-a932-0658087f49c3 --- drivers/mtd/ftl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/ftl.c b/drivers/mtd/ftl.c index 11ed83f632..8d99d8713d 100755 --- a/drivers/mtd/ftl.c +++ b/drivers/mtd/ftl.c @@ -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