FelipeMdeO commented on code in PR #19601:
URL: https://github.com/apache/nuttx/pull/19601#discussion_r3707989964
##########
drivers/sensors/mpu6050_uorb.c:
##########
@@ -137,6 +150,24 @@ static const struct sensor_ops_s g_mpu6050_ops =
.control = mpu6050_control,
};
+#ifdef CONFIG_SENSORS_MPU6050_INT
+
+/* With the INT pin wired the device pushes samples on its own, so fetch()
+ * is deliberately absent: a lower half must implement one model or the
+ * other, never both.
+ */
+
+static const struct sensor_ops_s g_mpu6050_ops_int =
+{
+ .activate = mpu6050_activate_int,
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]