From 75387a35a4ee559b62ac27cd871077428f82f88d Mon Sep 17 00:00:00 2001 From: asterix Date: Wed, 4 Aug 2010 11:01:34 +0000 Subject: [PATCH] Remove commented code. Fix doxygen warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4139 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/avr/drv/ser_avr.c | 32 -------------------------------- 1 file changed, 32 deletions(-) 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); -- 2.25.1