cv

Fork of Queue by William Basser

Revision:
1:4770d82994dd
Parent:
0:a03810d46457
--- a/queue.cpp	Fri Oct 22 22:07:25 2010 +0000
+++ b/queue.cpp	Mon Jul 04 15:22:46 2016 +0000
@@ -81,7 +81,7 @@
     // check for room
     if ( m_iLclCount != 0 )
     {
-        __disable_irq( );
+       // __disable_irq( );
         // copy the item/adjust the pointer/check for overflow
         memcpy( pvItem, m_pnRdIndex, m_iSize );
         m_pnRdIndex += m_iSize;
@@ -90,7 +90,7 @@
 
         // decrement the count
         m_iLclCount--;
-        __enable_irq( );
+     //   __enable_irq( );
         // set the result to 0k
         bResult = true;
     }