X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/0d3a3f7536b6b2f22858f82541c383aa3759aa15..4dde844e9f12bca880f88f952231a614d5d912ad:/LUFA/Drivers/USB/Class/MIDI.h diff --git a/LUFA/Drivers/USB/Class/MIDI.h b/LUFA/Drivers/USB/Class/MIDI.h index a423e0bfd..96b23efcb 100644 --- a/LUFA/Drivers/USB/Class/MIDI.h +++ b/LUFA/Drivers/USB/Class/MIDI.h @@ -34,6 +34,7 @@ * \section Sec_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: * - LUFA/Drivers/USB/Class/Device/MIDI.c + * - LUFA/Drivers/USB/Class/Host/MIDI.c * * \section Module Description * MIDI Class Driver module. This module contains an internal implementation of the USB MIDI Class, for both Device @@ -55,9 +56,17 @@ /* Includes: */ #include "../HighLevel/USBMode.h" + #if defined(NO_STREAM_CALLBACKS) + #error The NO_STREAM_CALLBACKS compile time option cannot be used in projects using the library Class drivers. + #endif + #if defined(USB_CAN_BE_DEVICE) #include "Device/MIDI.h" #endif + + #if defined(USB_CAN_BE_HOST) + #include "Host/MIDI.h" + #endif #endif