projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new Pipe_GetBusyBanks(), Endpoint_GetBusyBanks() and Endpoint_AbortPendingIN...
[pub/USBasp.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
..
b616b67
100644
(file)
--- a/
Demos/Host/LowLevel/MIDIHost/MIDIHost.c
+++ b/
Demos/Host/LowLevel/MIDIHost/MIDIHost.c
@@
-3,7
+3,7
@@
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
Copyright (C) Dean Camera, 2010.
dean [at] fourwalledcubicle [dot] com
- www.fourwalledcubicle.com
+ www.lufa-lib.org
*/
/*
*/
/*
@@
-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),