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



##########
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:
       ```suggestion
    * Note:         If setting calibvalue failed, a negated errno value is 
return,
    *               otherwise, OK is returned.
   ```




-- 
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-unsubscr...@nuttx.apache.org

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


Reply via email to