uncommented comment in usb.c

tlwmdbt

New member
Maybe this has been reported a thousand times before, but in file {INSTALLATION_DRIVE}:\{INSTALLATION_FOLDER}\hardware\teensy\avr\cores\teensy\../usb_midi/usb.c is a comment, whithout beeing commented. The compiler is always spitting out warnings about this.

how it should be:
// snip

#if 0
/**
* http://www.usb.org/developers/devclass_docs/midi10.pdf
*
* Section B.3 seems to say these extra descriptors are required,
* but when I add them, MIDI breaks on Linux (haven't tried Mac and
* Windows yet). TODO: investigate these....
* reported by "John K." on May 7, 2012, subject "USB MIDI descriptors"
*/


// Standard AC Interface Descriptor
9, // bLength

// snap

##########################################################

how it is:
// snip
#if 0

http://www.usb.org/developers/devclass_docs/midi10.pdf

Section B.3 seems to say these extra descriptors are required,
but when I add them, MIDI breaks on Linux (haven't tried Mac and
Windows yet). TODO: investigate these....
reported by "John K." on May 7, 2012, subject "USB MIDI descriptors"



// Standard AC Interface Descriptor
9, // bLength

// snap

Daniel
 
Last edited:
Back
Top