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/11/19 01:31:00 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #4850: feature: sensor: add set calibration interface

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



##########
File path: include/nuttx/sensors/ioctl.h
##########
@@ -297,4 +297,14 @@
 
 #define SNIOC_SELFTEST             _SNIOC(0x0086)
 
+/* Command:      SNIOC_SET_CALIBVALUE
+ * Description:  Set calibration value for sensor.
+ * Argument:     A argument of calibration value for sensor.
+ * Note:         If setting calibvalue is failed, return errno, otherwise,
+ *               return OK.

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.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

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