summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/common/up_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-11 03:50:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-02-11 03:50:52 +0000
commit4a62de545bf87610c2415218e144ddef4dd0e75c (patch)
tree6c5b47ab79d40800d497f8a470aad5aa569ff9d6 /nuttx/arch/avr/src/common/up_internal.h
parent24af177eb1a3e7036f8a3ee5342970ddeb151124 (diff)
downloadpx4-nuttx-4a62de545bf87610c2415218e144ddef4dd0e75c.tar.gz
px4-nuttx-4a62de545bf87610c2415218e144ddef4dd0e75c.tar.bz2
px4-nuttx-4a62de545bf87610c2415218e144ddef4dd0e75c.zip
Add logic so that a RAM log can be used in place of a console device
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4380 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/common/up_internal.h')
-rw-r--r--nuttx/arch/avr/src/common/up_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/arch/avr/src/common/up_internal.h b/nuttx/arch/avr/src/common/up_internal.h
index e65b5627d..bc62be720 100644
--- a/nuttx/arch/avr/src/common/up_internal.h
+++ b/nuttx/arch/avr/src/common/up_internal.h
@@ -172,6 +172,14 @@ extern void lowconsole_init(void);
# define lowconsole_init()
#endif
+/* Defined in drivers/ramlog.c */
+
+#ifdef CONFIG_RAMLOG_CONSOLE
+extern void ramlog_consoleinit(void);
+#else
+# define ramlog_consoleinit()
+#endif
+
/* Defined in chip/xxx_timerisr.c */
extern void up_timerinit(void);