syslog_rpmsg: fix typo

Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd 2021-12-10 18:00:43 +08:00 committed by Xiang Xiao
parent 93426ca7cc
commit 9a86aa7f77

View File

@ -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);