Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
Diff: CircularBuffer.h
- Revision:
- 101:7cff1c4259d7
- Parent:
- 98:8ab26030e058
--- a/CircularBuffer.h Wed May 27 08:07:35 2015 +0100 +++ b/CircularBuffer.h Tue Jun 09 14:29:26 2015 +0100 @@ -88,9 +88,9 @@ private: T _pool[BufferSize]; - CounterType _head; - CounterType _tail; - bool _full; + volatile CounterType _head; + volatile CounterType _tail; + volatile bool _full; }; }