You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by je...@apache.org on 2021/05/20 05:24:13 UTC
[incubator-nuttx] 16/21: arch: cxd56xx: charger: Use the dedicated
debug macro
This is an automated email from the ASF dual-hosted git repository.
jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 50cb0306b6f10df4b049d8d38f3387b9d5667a2b
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Wed May 19 17:04:34 2021 +0900
arch: cxd56xx: charger: Use the dedicated debug macro
Replace to the battery dedicated debug macro instead of standard one.
---
arch/arm/src/cxd56xx/cxd56_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/cxd56xx/cxd56_charger.c b/arch/arm/src/cxd56xx/cxd56_charger.c
index 48d9bf9..c880e32 100644
--- a/arch/arm/src/cxd56xx/cxd56_charger.c
+++ b/arch/arm/src/cxd56xx/cxd56_charger.c
@@ -672,7 +672,7 @@ int cxd56_charger_initialize(FAR const char *devpath)
ret = register_driver(devpath, &g_chargerops, 0666, priv);
if (ret < 0)
{
- _err("ERROR: register_driver failed: %d\n", ret);
+ baterr("ERROR: register_driver failed: %d\n", ret);
return -EFAULT;
}