mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
syslog: Call syslog_rpmsg_init inside syslog_initialize like other syslog driver
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
|
||||
#include <nuttx/syslog/ramlog.h>
|
||||
#include <nuttx/syslog/syslog.h>
|
||||
#include <nuttx/syslog/syslog_rpmsg.h>
|
||||
|
||||
#include "syslog.h"
|
||||
|
||||
@@ -101,6 +102,10 @@ int syslog_initialize(void)
|
||||
syslog_register();
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SYSLOG_CHARDEV
|
||||
syslog_rpmsg_init();
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user