Commit Graph

2 Commits (903b6d6d19ec277029346b4fa07fd45bc414423e)

Author SHA1 Message Date
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
Christopher Haster bf643bcb0e restructure - Moved libraries to features/unsupported
libraries -> features/unsupported
2016-09-30 19:18:09 -05:00