A few fixes for clean apps/examples/mtdrwb build

This commit is contained in:
Gregory Nutt 2014-09-25 10:41:47 -06:00
parent f66eca6c80
commit 7c89724b99

View file

@ -376,7 +376,7 @@ FAR struct mtd_dev_s *mtd_rwb_initialize(FAR struct mtd_dev_s *mtd)
*/
priv->spb = geo.erasesize / geo.blocksize;
DEBUGASSERT((size_t)priv->spb * geo_blocksize = geo.erasesize);
DEBUGASSERT((size_t)priv->spb * geo.blocksize == geo.erasesize);
/* Values must be provided to rwb_initialize() */
/* Supported geometry */