This is an automated email from the ASF dual-hosted git repository.
michallenc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3c7999f996e drivers/sensors: fix mpu9250 register function comments
3c7999f996e is described below
commit 3c7999f996e6a5d0f05045a1b3019549cfd031f0
Author: chenzihan1 <[email protected]>
AuthorDate: Mon Feb 24 14:17:28 2025 +0800
drivers/sensors: fix mpu9250 register function comments
fix wrong function comments
Signed-off-by: chenzihan1 <[email protected]>
---
include/nuttx/sensors/mpu9250.h | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/include/nuttx/sensors/mpu9250.h b/include/nuttx/sensors/mpu9250.h
index e042e32e8d7..2ba8328f1ef 100644
--- a/include/nuttx/sensors/mpu9250.h
+++ b/include/nuttx/sensors/mpu9250.h
@@ -159,13 +159,17 @@ struct mpu9250_config_s
****************************************************************************/
/****************************************************************************
- * Name: mpu60x0_register
+ * Name: mpu9250_register
*
* Description:
- * Declares the existence of an mpu9250 chip, wired according to
- * config; creates an interface to it at path.
+ * Registers the mpu9250 character device
*
- * Returns 0 on success, or negative errno.
+ * Input Parameters:
+ * devno - Instance number for driver
+ * config - Configuration information
+ *
+ * Returned Value:
+ * Zero (OK) on success; a negated errno value on failure.
*
****************************************************************************/