You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/07/04 05:36:24 UTC
[incubator-nuttx] 11/13: arch: cxd56x: pmic: Fix a compile error
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 4738f69569a06ff58aa52c8fc662367cc08b8075
Author: SPRESENSE <41...@users.noreply.github.com>
AuthorDate: Sun Jul 4 12:55:00 2021 +0900
arch: cxd56x: pmic: Fix a compile error
Replace undefined logerr to _err function.
---
arch/arm/src/cxd56xx/cxd56_pmic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/src/cxd56xx/cxd56_pmic.c b/arch/arm/src/cxd56xx/cxd56_pmic.c
index 54f5f03..d6d1d83 100644
--- a/arch/arm/src/cxd56xx/cxd56_pmic.c
+++ b/arch/arm/src/cxd56xx/cxd56_pmic.c
@@ -246,7 +246,7 @@ static int pmic_int_handler(int irq, void *context, void *arg)
ret = work_queue(LPWORK, &g_irqwork, pmic_int_worker, NULL, 0);
if (ret < 0)
{
- logerr("ERROR: work_queue failed: %d\n", ret);
+ _err("ERROR: work_queue failed: %d\n", ret);
}
/* Disable any further pmic interrupts */