A few fixes for clean apps/examples/mtdrwb build
This commit is contained in:
parent
f66eca6c80
commit
7c89724b99
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue