From 6238656d332d36e30fd4aebd01e0842b711974f2 Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 13 Jun 2011 17:51:17 +0000 Subject: [PATCH] Amber Web Server updates git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3702 42af7a65-404d-4744-a932-0658087f49c3 --- arch/avr/src/atmega/atmega_lowconsole.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/avr/src/atmega/atmega_lowconsole.c b/arch/avr/src/atmega/atmega_lowconsole.c index 596ab7730f7..bd49a04917a 100644 --- a/arch/avr/src/atmega/atmega_lowconsole.c +++ b/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.