From: bernie Date: Mon, 13 Dec 2004 11:51:43 +0000 (+0000) Subject: Fix a latent bug with reentrant serial IRQs. X-Git-Tag: 1.0.0~926 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=b0ee5db10d096ef0ec5c303be1cef92bd8464d34;p=bertos.git Fix a latent bug with reentrant serial IRQs. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@315 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/drv/ser_avr.c b/drv/ser_avr.c index 55665a40..37facaa2 100755 --- a/drv/ser_avr.c +++ b/drv/ser_avr.c @@ -38,6 +38,9 @@ /*#* *#* $Log$ + *#* Revision 1.20 2004/12/13 11:51:43 bernie + *#* Fix a latent bug with reentrant serial IRQs. + *#* *#* Revision 1.19 2004/12/13 11:51:08 bernie *#* DISABLE_INTS/ENABLE_INTS: Convert to IRQ_DISABLE/IRQ_ENABLE. *#* @@ -824,6 +827,7 @@ SIGNAL(SIG_UART1_RECV) #endif } /* Re-enable receive complete int */ + //IRQ_DISABLE; //UCSR1B |= BV(RXCIE); SER_STROBE_OFF;