xiaoxiang781216 commented on code in PR #16087:
URL: https://github.com/apache/nuttx/pull/16087#discussion_r2020373347


##########
include/nuttx/sensors/ioctl.h:
##########
@@ -480,6 +480,30 @@
 
 #define SNIOC_LPF                     _SNIOC(0x00A0)
 
+/* Command:      SNIOC_SET_GAIN
+ * Description:  Sets the gain of the sensor.
+ */
+
+#define SNIOC_SET_GAIN                _SNIOC(0x00A1)
+
+/* Command:      SNIOC_SET_SPS
+ * Description:  Set the samples per second of the sensor.
+ */
+
+#define SNIOC_SET_SPS                 _SNIOC(0x00A2)

Review Comment:
   both has the same meaning, I can't understand why the interval has the big 
side effect?



-- 
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