summaryrefslogtreecommitdiff
path: root/software
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2014-06-01 02:55:49 (GMT)
committerChristian Pointner <equinox@helsinki.at>2014-06-01 02:55:49 (GMT)
commite19e30a3a12dc60f924fd7117fdcfef4339974e8 (patch)
tree982676eedbb8f40d5c90436227a6f24bd9c1cc59 /software
parentf8b160eafcdee78ed9b39af432227a978c3f476c (diff)
cleanup
Diffstat (limited to 'software')
-rw-r--r--software/rhmixxx/rhmixxx.c12
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();
}
}