summaryrefslogtreecommitdiff
path: root/nuttx/arch/avr/src/atmega
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-13 17:51:17 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-06-13 17:51:17 +0000
commit84b10fdbd5fabcd3c84814260d85ba983b582f36 (patch)
tree236aa2593db6d42ffa6175557c5e039509b2cc1c /nuttx/arch/avr/src/atmega
parent0befa61281b86858fe3a7f1851aabed997edacfe (diff)
downloadpx4-nuttx-84b10fdbd5fabcd3c84814260d85ba983b582f36.tar.gz
px4-nuttx-84b10fdbd5fabcd3c84814260d85ba983b582f36.tar.bz2
px4-nuttx-84b10fdbd5fabcd3c84814260d85ba983b582f36.zip
Amber Web Server updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3702 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/avr/src/atmega')
-rw-r--r--nuttx/arch/avr/src/atmega/atmega_lowconsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/avr/src/atmega/atmega_lowconsole.c b/nuttx/arch/avr/src/atmega/atmega_lowconsole.c
index 596ab7730..bd49a0491 100644
--- a/nuttx/arch/avr/src/atmega/atmega_lowconsole.c
+++ b/nuttx/arch/avr/src/atmega/atmega_lowconsole.c
@@ -58,10 +58,10 @@
/* USART0 Baud rate settings for normal and double speed modes */
#define AVR_NORMAL_UBRR0 \
- (((((BOARD_CPU_CLOCK / 16) + (CONFIG_USART0_BAUD / 2)) / (CONFIG_USART0_BAUD)) - 1)
+ ((((BOARD_CPU_CLOCK / 16) + (CONFIG_USART0_BAUD / 2)) / (CONFIG_USART0_BAUD)) - 1)
#define AVR_DBLSPEED_UBRR0 \
- (((((BOARD_CPU_CLOCK / 8) + (CONFIG_USART0_BAUD / 2)) / (CONFIG_USART0_BAUD)) - 1)
+ ((((BOARD_CPU_CLOCK / 8) + (CONFIG_USART0_BAUD / 2)) / (CONFIG_USART0_BAUD)) - 1)
/* Select normal or double speed baud settings. This is a trade-off between the
* sampling rate and the accuracy of the divisor for high baud rates.