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 9a86aa7f77090683714d24c127354c6d31774870
Author: ligd <[email protected]>
AuthorDate: Fri Dec 10 18:00:43 2021 +0800

    syslog_rpmsg: fix typo
    
    Signed-off-by: ligd <[email protected]>
---
 drivers/syslog/syslog_rpmsg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/syslog/syslog_rpmsg.c b/drivers/syslog/syslog_rpmsg.c
index d339729..a419f82 100644
--- a/drivers/syslog/syslog_rpmsg.c
+++ b/drivers/syslog/syslog_rpmsg.c
@@ -161,7 +161,7 @@ static void syslog_rpmsg_putchar(FAR struct syslog_rpmsg_s 
*priv, int ch,
 
       if (next == priv->tail)
         {
-#ifndef SYSLOG_RPMSG_OVERWRITE
+#ifndef CONFIG_SYSLOG_RPMSG_OVERWRITE
           if (!up_interrupt_context() && !sched_idletask())
             {
               nxsem_wait(&priv->sem);

Reply via email to