mbed-os/features/unsupported/USBDevice/USBMIDI
Russ Butler 6decbedbb8 Fix local static initialization in USB
The local static initialization in USB was causing multiple problems:
-Configurable descriptor values are set only once
-USB descriptor initialization causes a trap in debug builds since
 this is acquiring a mutex in an interrupt handler
-Extra ram used since all descriptors  are in RAM

This patch fixes these problems by making fixed descriptors
static const so they are stored in flash and never need to be
initialized and by making descriptors that do change a member
of the class so they are always initialized when requested
rather than once though lazy static local initialization.
2018-01-17 20:53:57 -06:00
..
MIDIMessage.h restructure - Moved libraries to features/unsupported 2016-09-30 19:18:09 -05:00
USBMIDI.cpp Fix local static initialization in USB 2018-01-17 20:53:57 -06:00
USBMIDI.h Fix local static initialization in USB 2018-01-17 20:53:57 -06:00