summaryrefslogtreecommitdiff
path: root/protocol/lufa/descriptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/lufa/descriptor.h')
-rw-r--r--protocol/lufa/descriptor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocol/lufa/descriptor.h b/protocol/lufa/descriptor.h
index 44f4c8f4a6..0471ef31de 100644
--- a/protocol/lufa/descriptor.h
+++ b/protocol/lufa/descriptor.h
@@ -136,12 +136,13 @@ typedef struct
#ifdef MIDI_ENABLE
# define MIDI_INTERFACE (NKRO_INTERFACE + 1)
+# define MIDI2_INTERFACE (NKRO_INTERFACE + 2)
#else
-# define MIDI_INTERFACE NKRO_INTERFACE
+# define MIDI2_INTERFACE NKRO_INTERFACE
#endif
/* nubmer of interfaces */
-#define TOTAL_INTERFACES (MIDI_INTERFACE + 1)
+#define TOTAL_INTERFACES MIDI2_INTERFACE + 1
// Endopoint number and size