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/12/13 17:08:36 UTC

[incubator-nuttx] 03/03: syslog_rpmsg: fix typo

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 <li...@xiaomi.com>
AuthorDate: Fri Dec 10 18:00:43 2021 +0800

    syslog_rpmsg: fix typo
    
    Signed-off-by: ligd <li...@xiaomi.com>
---
 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);