mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
syslog: correct to #ifdef CONFIG_SYSLOG_RPMSG to call syslog_rpmsg_init
Same as syslog/Make.defs to use #ifdef CONFIG_SYSLOG_RPMSG to build syslog_rpmsg.c in which syslog_rpmsg_init defined. Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
This commit is contained in:
@@ -102,7 +102,7 @@ int syslog_initialize(void)
|
||||
syslog_register();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYSLOG_CHARDEV
|
||||
#ifdef CONFIG_SYSLOG_RPMSG
|
||||
syslog_rpmsg_init();
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user