X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/6bda628718f67c04ed43e8328f55bdce5319c504..bea72a8412f99b294c00341fa16a8308bcc66f15:/Demos/Host/LowLevel/MIDIHost/MIDIHost.c diff --git a/Demos/Host/LowLevel/MIDIHost/MIDIHost.c b/Demos/Host/LowLevel/MIDIHost/MIDIHost.c index f518550b5..7725f5d8a 100644 --- a/Demos/Host/LowLevel/MIDIHost/MIDIHost.c +++ b/Demos/Host/LowLevel/MIDIHost/MIDIHost.c @@ -175,7 +175,7 @@ void MIDI_Host_Task(void) USB_HostState = HOST_STATE_Configured; break; case HOST_STATE_Configured: - Pipe_SelectPipe(MIDI_DATAPIPE_IN); + Pipe_SelectPipe(MIDI_DATA_IN_PIPE); if (Pipe_IsINReceived()) { @@ -196,7 +196,7 @@ void MIDI_Host_Task(void) Pipe_ClearIN(); } - Pipe_SelectPipe(MIDI_DATAPIPE_OUT); + Pipe_SelectPipe(MIDI_DATA_OUT_PIPE); static uint8_t PrevJoystickStatus;