Exclude all host application directories from the Doxygen configuration files.
[pub/USBasp.git] / Projects / MIDIToneGenerator / MIDIToneGenerator.c
index 662c815..2ccd2ef 100644 (file)
@@ -44,7 +44,7 @@ USB_ClassInfo_MIDI_Device_t Keyboard_MIDI_Interface =
        {
                .Config =
                        {
-                               .StreamingInterfaceNumber = 1,
+                               .StreamingInterfaceNumber = INTERFACE_ID_AudioStream,
                                .DataINEndpoint           =
                                        {
                                                .Address          = MIDI_STREAM_IN_EPADDR,
@@ -110,7 +110,7 @@ int main(void)
                                        /* Check if the note is unused */
                                        if (!(NoteData[i].Pitch))
                                        {
-                                               /* If a note is unused, it's age is essentially infinite - always prefer unused not entries */
+                                               /* If a note is unused, it's age is essentially infinite - always prefer unused note entries */
                                                LRUNoteStruct = &NoteData[i];
                                                break;
                                        }