From e19e30a3a12dc60f924fd7117fdcfef4339974e8 Mon Sep 17 00:00:00 2001
From: Christian Pointner <equinox@helsinki.at>
Date: Sun, 1 Jun 2014 02:55:49 +0000
Subject: cleanup


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();
   }
 }
-- 
cgit v0.10.2