You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/16 17:29:14 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4166: mtd: Add MTDIOC_ERASESTATE command for retrieving erase state value

xiaoxiang781216 commented on a change in pull request #4166:
URL: https://github.com/apache/incubator-nuttx/pull/4166#discussion_r671331362



##########
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:
       should we specify the value meaning here?




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org