what should WritePageWithLayout() return when called with data == NULL && ts == NULL?

31 views
Skip to first unread message

bowerymarc

unread,
Oct 9, 2013, 3:48:26 PM10/9/13
to uf...@googlegroups.com
according to the doxygen doc:

Note
If data == NULL && ts == NULL, driver should mark this block as a 'bad block'.
Returns
UFFS_FLASH_NO_ERR: success UFFS_FLASH_IO_ERR: I/O error, expect retry ? UFFS_FLASH_BAD_BLK: a bad block detected.

So, if it's called with data == ts == NULL, should it return UFFS_FLASH_BAD_BLK?

Ricky Zheng

unread,
Oct 10, 2013, 3:26:08 AM10/10/13
to uf...@googlegroups.com
It should return UFFS_FLASH_NO_ERR if WritePage()/WritePageWithLayout() function successfully marked the block.

Cheers,
Ricky.


--
You received this message because you are subscribed to the Google Groups "UFFS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uffs+uns...@googlegroups.com.
To post to this group, send email to uf...@googlegroups.com.
Visit this group at http://groups.google.com/group/uffs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages