diff options
Diffstat (limited to 'software')
-rw-r--r-- | software/rhmixxx/rhmixxx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/software/rhmixxx/rhmixxx.c b/software/rhmixxx/rhmixxx.c index 20b523c..1817c0e 100644 --- a/software/rhmixxx/rhmixxx.c +++ b/software/rhmixxx/rhmixxx.c @@ -41,7 +41,7 @@ * passed to all MIDI Class driver functions, so that multiple instances of the same class
* within a device can be differentiated from one another.
*/
-USB_ClassInfo_MIDI_Device_t Keyboard_MIDI_Interface =
+USB_ClassInfo_MIDI_Device_t MIDI_Interface =
{
.Config =
{
@@ -62,13 +62,13 @@ void EVENT_USB_Device_ConfigurationChanged(void) {
bool ConfigSuccess = true;
- ConfigSuccess &= MIDI_Device_ConfigureEndpoints(&Keyboard_MIDI_Interface);
+ ConfigSuccess &= MIDI_Device_ConfigureEndpoints(&MIDI_Interface);
}
/** Event handler for the library USB Control Request reception event. */
void EVENT_USB_Device_ControlRequest(void)
{
- MIDI_Device_ProcessControlRequest(&Keyboard_MIDI_Interface);
+ MIDI_Device_ProcessControlRequest(&MIDI_Interface);
}
/* end LUFA MIDI Class driver specific definitions*/
@@ -89,14 +89,14 @@ int main(void) for(;;) {
MIDI_EventPacket_t ReceivedMIDIEvent;
- while(MIDI_Device_ReceiveEventPacket(&Keyboard_MIDI_Interface, &ReceivedMIDIEvent)) {
+ while(MIDI_Device_ReceiveEventPacket(&MIDI_Interface, &ReceivedMIDIEvent)) {
// TODO: process incoming MIDI Events
}
keypad_task();
- // TODO: evaluate keypad and send out MIDI Events
+ // TODO: send out MIDI Events
- MIDI_Device_USBTask(&Keyboard_MIDI_Interface);
+ MIDI_Device_USBTask(&MIDI_Interface);
USB_USBTask();
}
}
|