aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/ClassDriver/MIDI/MIDI.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-11 06:15:45 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-11 06:15:45 +0000
commit9798440ca4f694e7cd8312a51b82e59589f1ebeb (patch)
treedaf8898224f4acd5092ecd54eb0cdf1a6a747664 /Demos/Device/ClassDriver/MIDI/MIDI.c
parentb2330934b9ccd51a59183eb2a11fdd95183df27b (diff)
downloadlufa-9798440ca4f694e7cd8312a51b82e59589f1ebeb.tar.gz
lufa-9798440ca4f694e7cd8312a51b82e59589f1ebeb.tar.bz2
lufa-9798440ca4f694e7cd8312a51b82e59589f1ebeb.zip
Changed to new device mode Class Driver function name prefixes to make way for similar host mode Class drivers.
Diffstat (limited to 'Demos/Device/ClassDriver/MIDI/MIDI.c')
-rw-r--r--Demos/Device/ClassDriver/MIDI/MIDI.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Device/ClassDriver/MIDI/MIDI.c b/Demos/Device/ClassDriver/MIDI/MIDI.c
index bb4eaf2df..234adca25 100644
--- a/Demos/Device/ClassDriver/MIDI/MIDI.c
+++ b/Demos/Device/ClassDriver/MIDI/MIDI.c
@@ -65,9 +65,9 @@ int main(void)
CheckJoystickMovement();
USB_MIDI_EventPacket_t DummyMIDIEvent;
- USB_MIDI_ReceiveEventPacket(&Keyboard_MIDI_Interface, &DummyMIDIEvent);
+ MIDI_Device_ReceiveEventPacket(&Keyboard_MIDI_Interface, &DummyMIDIEvent);
- USB_MIDI_USBTask(&Keyboard_MIDI_Interface);
+ MIDI_Device_USBTask(&Keyboard_MIDI_Interface);
USB_USBTask();
}
}
@@ -146,7 +146,7 @@ void CheckJoystickMovement(void)
.Data3 = MIDI_STANDARD_VELOCITY,
};
- USB_MIDI_SendEventPacket(&Keyboard_MIDI_Interface, &MIDIEvent);
+ MIDI_Device_SendEventPacket(&Keyboard_MIDI_Interface, &MIDIEvent);
}
PrevJoystickStatus = JoystickStatus;
@@ -169,12 +169,12 @@ void EVENT_USB_ConfigurationChanged(void)
{
LEDs_SetAllLEDs(LEDMASK_USB_READY);
- if (!(USB_MIDI_ConfigureEndpoints(&Keyboard_MIDI_Interface)))
+ if (!(MIDI_Device_ConfigureEndpoints(&Keyboard_MIDI_Interface)))
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
}
/** Event handler for the library USB Unhandled Control Packet event. */
void EVENT_USB_UnhandledControlPacket(void)
{
- USB_MIDI_ProcessControlPacket(&Keyboard_MIDI_Interface);
+ MIDI_Device_ProcessControlPacket(&Keyboard_MIDI_Interface);
}