USB Device for NUCLEO-F103RB, STM32F103C8T6 and Maple Mini boards
Dependents: MapleMini_USBSerial STM32F103C8T6_USBKeyboard firstDelta STM32F103C8T6_USBSerial ... more
Fork of L152RE_USBDevice by
Diff: USBSerial/CircBuffer.h
- Revision:
- 56:151ba33713ff
- Parent:
- 51:deafa44182d9
- Child:
- 65:48fe9050cb4a
diff -r c7fd9d44ec8e -r 151ba33713ff USBSerial/CircBuffer.h --- a/USBSerial/CircBuffer.h Mon Jun 01 11:01:13 2015 +0100 +++ b/USBSerial/CircBuffer.h Mon Jun 08 08:15:25 2015 +0100 @@ -57,7 +57,7 @@ volatile uint16_t write; volatile uint16_t read; static const int size = Size+1; //a modern optimizer should be able to remove this so it uses no ram. - T buf[Size]; + T buf[Size+1]; }; #endif