This is an automated email from the ASF dual-hosted git repository.
pkarashchenko 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 79db26bda3 drivers/sensors/apds9960.c: Fix mistakes in comments snerr
79db26bda3 is described below
commit 79db26bda3f47577b1207d7a5cd7cbf693e264b5
Author: simbit18 <[email protected]>
AuthorDate: Mon Jul 3 15:22:03 2023 +0200
drivers/sensors/apds9960.c: Fix mistakes in comments snerr
Fix mistakes in comments snerr
APDS9960_GCONFIG3 -> APDS9960_GCONFIG4
---
drivers/sensors/apds9960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/sensors/apds9960.c b/drivers/sensors/apds9960.c
index 40df1935d9..a76dd571d1 100644
--- a/drivers/sensors/apds9960.c
+++ b/drivers/sensors/apds9960.c
@@ -412,7 +412,7 @@ static int apds9960_setdefault(FAR struct apds9960_dev_s
*priv)
ret = apds9960_i2c_write8(priv, APDS9960_GCONFIG4, DEFAULT_GCONFIG4);
if (ret < 0)
{
- snerr("ERROR: Failed to write APDS9960_GCONFIG3!\n");
+ snerr("ERROR: Failed to write APDS9960_GCONFIG4!\n");
return ret;
}