Fix a misplaced right bracket

This commit is contained in:
Gregory Nutt 2016-03-08 15:33:33 -06:00
parent 4d9c41fd57
commit 7fa0adff83

View File

@ -388,7 +388,7 @@ static ssize_t at24c_bread(FAR struct mtd_dev_s *dev, off_t startblock,
offset += priv->pagesize;
buffer += priv->pagesize;
}
}
#if CONFIG_AT24XX_MTD_BLOCKSIZE > AT24XX_PAGESIZE
return nblocks / (CONFIG_AT24XX_MTD_BLOCKSIZE / AT24XX_PAGESIZE);