Donny9 commented on a change in pull request #2215: URL: https://github.com/apache/incubator-nuttx/pull/2215#discussion_r519264908
########## File path: include/nuttx/sensors/ioctl.h ########## @@ -273,4 +273,14 @@ #define SNIOC_GET_NEVENTBUF _SNIOC(0x0070) +/* Command: SNIOC_SET_BUFFER_SIZE + * Description: Use to set size of intermediate circual buffer in upper half driver. Review comment: done ########## File path: include/nuttx/sensors/ioctl.h ########## @@ -273,4 +273,14 @@ #define SNIOC_GET_NEVENTBUF _SNIOC(0x0070) +/* Command: SNIOC_SET_BUFFER_SIZE + * Description: Use to set size of intermediate circual buffer in upper half driver. + * Argument: This is the size of buffer pointer. + * Note: The application layer can set size of intermediate circual buffer Review comment: done ########## File path: include/nuttx/sensors/ioctl.h ########## @@ -273,4 +273,14 @@ #define SNIOC_GET_NEVENTBUF _SNIOC(0x0070) +/* Command: SNIOC_SET_BUFFER_SIZE + * Description: Use to set size of intermediate circual buffer in upper half driver. + * Argument: This is the size of buffer pointer. + * Note: The application layer can set size of intermediate circual buffer + * by this ioctl cmd. The size is in bytes, it should be a multiple of Review comment: done ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org