summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/atmega
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-15 17:23:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-15 17:23:48 +0000
commitf0c4282b44dcf92fcf0933df9d47367c03f41ece (patch)
tree1dd2e4b972a8efc0288fbf11d184b5e9d8521499 /nuttx/arch/avr/src/atmega
parent1e5b09b3aef15551da9717ef5b5f5a36fb7e11bf (diff)
downloadpx4-nuttx-f0c4282b44dcf92fcf0933df9d47367c03f41ece.tar.gz
px4-nuttx-f0c4282b44dcf92fcf0933df9d47367c03f41ece.tar.bz2
px4-nuttx-f0c4282b44dcf92fcf0933df9d47367c03f41ece.zip
Fix some AVR context save errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3704 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/atmega')
-rw-r--r--nuttx/arch/avr/src/atmega/atmega_lowconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/avr/src/atmega/atmega_lowconsole.c b/nuttx/arch/avr/src/atmega/atmega_lowconsole.c
index c1fda6244..4e52f4aba 100644
--- a/nuttx/arch/avr/src/atmega/atmega_lowconsole.c
+++ b/nuttx/arch/avr/src/atmega/atmega_lowconsole.c
@@ -377,7 +377,7 @@ void usart1_configure(void)
#elif CONFIG_USART1_BITS == 8
ucsr1c |= ((1 << UCSZ10) | (1 << UCSZ11));
#elif CONFIG_USART1_BITS == 9
- ucsr1c |= (U(1 << CSZ10) | (1 << UCSZ11));
+ ucsr1c |= ((1 << CSZ10) | (1 << UCSZ11));
ucsr1b |= (1 << UCSZ12);
#else
# error "Unsupported word size"