From: asterix Date: Wed, 4 Aug 2010 11:01:34 +0000 (+0000) Subject: Remove commented code. Fix doxygen warning. X-Git-Tag: 2.6.0~251 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=75387a35a4ee559b62ac27cd871077428f82f88d;p=bertos.git Remove commented code. Fix doxygen warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4139 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/avr/drv/ser_avr.c b/bertos/cpu/avr/drv/ser_avr.c index 11a6c65c..ee6c6ab1 100644 --- a/bertos/cpu/avr/drv/ser_avr.c +++ b/bertos/cpu/avr/drv/ser_avr.c @@ -1080,22 +1080,6 @@ DECLARE_ISR(USART2_UDRE_vect) UARTDescs[SER_UART2].sending = false; #endif } - -/** - * ATMEGA64, 128 and 103 do not have more than 2 USARTs - -#if CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA103 - else if (!IS_CTS_ON) - { - // Disable rx interrupt and tx, enable CTS interrupt - // UNTESTED - UCSR1B = BV(BIT_RXCIE1) | BV(BIT_RXEN1) | BV(BIT_TXEN1); - EIFR |= EIMSKF_CTS; - EIMSK |= EIMSKF_CTS; - } -#endif - - */ else { char c = fifo_pop(txfifo); @@ -1148,22 +1132,6 @@ DECLARE_ISR(USART3_UDRE_vect) UARTDescs[SER_UART3].sending = false; #endif } - -/** - * ATMEGA64, 128 and 103 do not have more than 2 USARTs - -#if CPU_AVR_ATMEGA64 || CPU_AVR_ATMEGA128 || CPU_AVR_ATMEGA103 - else if (!IS_CTS_ON) - { - // Disable rx interrupt and tx, enable CTS interrupt - // UNTESTED - UCSR1B = BV(BIT_RXCIE1) | BV(BIT_RXEN1) | BV(BIT_TXEN1); - EIFR |= EIMSKF_CTS; - EIMSK |= EIMSKF_CTS; - } -#endif - - */ else { char c = fifo_pop(txfifo);