Working version on STM32F411. Test for CLI
Dependencies: FATFileSystem mbed-rtos mbed
Fork of USBHost by
Diff: USBHostSerial/MtxCircBuffer.h
- Revision:
- 24:868cbfe611a7
- Parent:
- 8:93da8ea2708b
--- a/USBHostSerial/MtxCircBuffer.h Fri Mar 07 16:00:46 2014 +0000 +++ b/USBHostSerial/MtxCircBuffer.h Tue Jun 03 11:30:38 2014 +0100 @@ -24,7 +24,7 @@ template<typename T, int size> class MtxCircBuffer { public: - + MtxCircBuffer() { write = 0; read = 0; @@ -43,7 +43,7 @@ mtx.unlock(); return r; } - + void flush() { write = 0; read = 0;