summaryrefslogtreecommitdiff
path: root/protocol/lufa/descriptor.h
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2015-08-21 23:13:33 -0400
committerJack Humbert <jack.humb@gmail.com>2015-08-21 23:13:33 -0400
commitb191f8c60fbbaf1fb55d67edb86a6c33489b2ce3 (patch)
tree1d493bae3b0ae91a6202918aa1bf53fb0da936fa /protocol/lufa/descriptor.h
parent04885a3b447c82437d919d467328800eb00af629 (diff)
midi
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