diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-11 03:50:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-02-11 03:50:52 +0000 |
commit | 4a62de545bf87610c2415218e144ddef4dd0e75c (patch) | |
tree | 6c5b47ab79d40800d497f8a470aad5aa569ff9d6 /nuttx/arch/avr/src/at32uc3/at32uc3_lowconsole.c | |
parent | 24af177eb1a3e7036f8a3ee5342970ddeb151124 (diff) | |
download | px4-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/at32uc3/at32uc3_lowconsole.c')
-rw-r--r-- | nuttx/arch/avr/src/at32uc3/at32uc3_lowconsole.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/arch/avr/src/at32uc3/at32uc3_lowconsole.c b/nuttx/arch/avr/src/at32uc3/at32uc3_lowconsole.c index 37a4c48dc..2fb04a1ca 100644 --- a/nuttx/arch/avr/src/at32uc3/at32uc3_lowconsole.c +++ b/nuttx/arch/avr/src/at32uc3/at32uc3_lowconsole.c @@ -1,8 +1,8 @@ /****************************************************************************** * arch/avr/src/at32uc3/at32uc3_lowconsole.c * - * Copyright (C) 2010 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <spudmonkey@racsa.co.cr> + * Copyright (C) 2010, 2012 Gregory Nutt. All rights reserved. + * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -362,7 +362,7 @@ void up_consoleinit(void) * by up_earlyserialinit()). */ -#if defined(HAVE_SERIAL_CONSOLE) && !defined(CONFIG_USE_EARLYSERIALINIT) +#if defined(HAVE_SERIAL_CONSOLE) && !defined(USE_EARLYSERIALINIT) usart_configure(AVR32_CONSOLE_BASE, AVR32_CONSOLE_BAUD, AVR32_CONSOLE_PARITY, AVR32_CONSOLE_BITS, (bool)AVR32_CONSOLE_2STOP); #endif |