aboutsummaryrefslogtreecommitdiff
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 44f4c8f4a..0471ef31d 100644
--- a/protocol/lufa/descriptor.h
+++ b/protocol/lufa/descriptor.h
@@ -136,12 +136,13 @@ typedef struct
136 136
137#ifdef MIDI_ENABLE 137#ifdef MIDI_ENABLE
138# define MIDI_INTERFACE (NKRO_INTERFACE + 1) 138# define MIDI_INTERFACE (NKRO_INTERFACE + 1)
139# define MIDI2_INTERFACE (NKRO_INTERFACE + 2)
139#else 140#else
140# define MIDI_INTERFACE NKRO_INTERFACE 141# define MIDI2_INTERFACE NKRO_INTERFACE
141#endif 142#endif
142 143
143/* nubmer of interfaces */ 144/* nubmer of interfaces */
144#define TOTAL_INTERFACES (MIDI_INTERFACE + 1) 145#define TOTAL_INTERFACES MIDI2_INTERFACE + 1
145 146
146 147
147// Endopoint number and size 148// Endopoint number and size