From b0ee5db10d096ef0ec5c303be1cef92bd8464d34 Mon Sep 17 00:00:00 2001 From: bernie Date: Mon, 13 Dec 2004 11:51:43 +0000 Subject: [PATCH] Fix a latent bug with reentrant serial IRQs. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@315 38d2e660-2303-0410-9eaa-f027e97ec537 --- drv/ser_avr.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.25.1