mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 14:03:33 +08:00
Add dmesg command that can be used to dump the syslog
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4382 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -98,6 +98,10 @@
|
||||
# undef CONFIG_RAMLOG_SYSLOG
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_RAMLOG_CONSOLE_BUFSIZE
|
||||
# define CONFIG_RAMLOG_CONSOLE_BUFSIZE 1024
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Public Data
|
||||
****************************************************************************/
|
||||
@@ -164,7 +168,7 @@ EXTERN int ramlog_consoleinit(void)
|
||||
****************************************************************************/
|
||||
|
||||
#if !defined(CONFIG_RAMLOG_CONSOLE) && defined(CONFIG_RAMLOG_SYSLOG)
|
||||
EXTERN int ramlog_sysloginit(void)
|
||||
EXTERN int ramlog_sysloginit(void);
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
@@ -284,7 +284,7 @@ EXTERN void lib_nulloutstream(FAR struct lib_outstream_s *nulloutstream);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SYSLOG
|
||||
EXTERN void lib_sylogstream(FAR struct lib_outstream_s *stream);
|
||||
EXTERN void lib_syslogstream(FAR struct lib_outstream_s *stream);
|
||||
#endif
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user