xiaoxiang781216 commented on a change in pull request #4166:
URL: https://github.com/apache/incubator-nuttx/pull/4166#discussion_r671613676
##########
File path: include/nuttx/mtd/mtd.h
##########
@@ -71,6 +71,9 @@
#define MTDIOC_FLUSH _MTDIOC(0x0009) /* IN: None
* OUT: None (ioctl return value
provides
* success/failure indication).
*/
+#define MTDIOC_ERASESTATE _MTDIOC(0x000a) /* IN: Pointer to uint8_t
+ * OUT: Byte value of the FLASH
erased
Review comment:
Ok, I misunderstand the meaning of ERASESTATE. ERASESTATE doesn't
represent a real state with the limited flags, but the storage value after the
flash erase.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]