Fix a latent bug with reentrant serial IRQs.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 13 Dec 2004 11:51:43 +0000 (11:51 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 13 Dec 2004 11:51:43 +0000 (11:51 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@315 38d2e660-2303-0410-9eaa-f027e97ec537

drv/ser_avr.c

index 55665a40acb333ae048b14b9bc9ac314229c676b..37facaa2f7e39366a55a8275a4cd23470ae42890 100755 (executable)
@@ -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;