USB device stack

Dependents:   mbed-mX-USB-TEST1 USBMSD_SD_HID_HelloWorld HidTest MIDI_usb_bridge ... more

Legacy Warning

This is an mbed 2 library. To learn more about mbed OS 5, visit the docs.

Pull requests against this repository are no longer supported. Please raise against mbed OS 5 as documented above.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Mon Jun 08 08:15:25 2015 +0100
Parent:
55:c7fd9d44ec8e
Child:
57:7a8dce0a3c84
Commit message:
Synchronized with git revision c5d3951878cd41efd58c206e082d1058bec003e4

Full URL: https://github.com/mbedmicro/mbed/commit/c5d3951878cd41efd58c206e082d1058bec003e4/

Copy missing files to be able to compile export_test projects

Changed in this revision

USBSerial/CircBuffer.h Show annotated file Show diff for this revision Revisions of this file
--- 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