haptics version
Fork of MODSERIAL by
Diff: GETC.cpp
- Revision:
- 22:c11ea36f17f9
- Parent:
- 8:775f860e94d3
--- a/GETC.cpp Tue May 10 08:07:27 2011 +0000 +++ b/GETC.cpp Thu Apr 19 20:47:46 2012 +0000 @@ -56,7 +56,9 @@ _IER = ier; } + __disable_irq(); buffer_count[RxIrq]--; + __enable_irq(); return c; }