Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build failure due to "multiple definition" errors
The USB descriptor variables were effectively being declared twice--once in usb_descriptors.c and once in usb_core.c--because both files included usb_descriptors.h, where those variables were originally declared without the "extern" keyword. Because of this, GCC refused to link the object files. After declaring the variables as "extern", the build finishes without issue.
- Loading branch information