Open dfries opened 9 years ago
I don't want to merge the warning fix as is, because the documentation for USB_CFG_HID_REPORT_DESCRIPTOR_LENGTH
states "Otherwise don't define it or define it to 0". The #if defined
would count 0
as defined, too.
Would the warning go away if we put an extern "C"
around the entire header, not just the includes at the top?
Fixed comment typos and macro #if tests that g++ was complaining about, it complains if SOMETHING isn't defined such as '#if SOMETHING'
v-usb has been working on my project and I haven't had any USB problems.