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 bb348cc464406694eb3b3242a6ca178df9241bba Author: SPRESENSE <41312067+sprese...@users.noreply.github.com> AuthorDate: Wed May 19 17:04:29 2021 +0900 arch: cxd56xx: gnss: Fix compile error in debug log Fix compile error when debug log is enabled. Replace debug message from obsolete logerr() to _err(). --- arch/arm/src/cxd56xx/cxd56_gnss.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/cxd56xx/cxd56_gnss.h b/arch/arm/src/cxd56xx/cxd56_gnss.h index e0e61a8..e66e7f3 100644 --- a/arch/arm/src/cxd56xx/cxd56_gnss.h +++ b/arch/arm/src/cxd56xx/cxd56_gnss.h @@ -47,19 +47,19 @@ extern "C" /* GNSS specific debug */ #ifdef CONFIG_CXD56_GNSS_DEBUG_ERROR -# define gnsserr(fmt, ...) logerr(fmt, ## __VA_ARGS__) +# define gnsserr(fmt, ...) _err(fmt, ## __VA_ARGS__) #else # define gnsserr(fmt, ...) #endif #ifdef CONFIG_CXD56_GNSS_DEBUG_WARN -# define gnsswarn(fmt, ...) logwarn(fmt, ## __VA_ARGS__) +# define gnsswarn(fmt, ...) _warn(fmt, ## __VA_ARGS__) #else # define gnsswarn(fmt, ...) #endif #ifdef CONFIG_CXD56_GNSS_DEBUG_INFO -# define gnssinfo(fmt, ...) loginfo(fmt, ## __VA_ARGS__) +# define gnssinfo(fmt, ...) _info(fmt, ## __VA_ARGS__) #else # define gnssinfo(fmt, ...) #endif