projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
All USB class drivers are now automatically included when LUFA/Drivers/USB.h is inclu...
[pub/lufa.git]
/
Demos
/
Host
/
LowLevel
/
MIDIHost
/
MIDIHost.c
diff --git
a/Demos/Host/LowLevel/MIDIHost/MIDIHost.c
b/Demos/Host/LowLevel/MIDIHost/MIDIHost.c
index
63ed6da
..
e004099
100644
(file)
--- a/
Demos/Host/LowLevel/MIDIHost/MIDIHost.c
+++ b/
Demos/Host/LowLevel/MIDIHost/MIDIHost.c
@@
-179,7
+179,7
@@
void MIDI_Host_Task(void)
if (Pipe_IsINReceived())
{
if (Pipe_IsINReceived())
{
-
USB_
MIDI_EventPacket_t MIDIEvent;
+ MIDI_EventPacket_t MIDIEvent;
Pipe_Read_Stream_LE(&MIDIEvent, sizeof(MIDIEvent));
Pipe_Read_Stream_LE(&MIDIEvent, sizeof(MIDIEvent));
@@
-244,7
+244,7
@@
void MIDI_Host_Task(void)
/* Check if a MIDI command is to be sent */
if (MIDICommand)
{
/* Check if a MIDI command is to be sent */
if (MIDICommand)
{
-
USB_MIDI_EventPacket_t MIDIEvent = (USB_
MIDI_EventPacket_t)
+
MIDI_EventPacket_t MIDIEvent = (
MIDI_EventPacket_t)
{
.CableNumber = 0,
.Command = (MIDICommand >> 4),
{
.CableNumber = 0,
.Command = (MIDICommand >> 4),