X-Git-Url: http://git.linex4red.de/pub/USBasp.git/blobdiff_plain/cd2dcc9163c6a77c5f358ed27692962dd5b6b214..bb3879331211a19c3adc3927cac870cc7e36b775:/LUFA/Drivers/USB/Class/RNDIS.h diff --git a/LUFA/Drivers/USB/Class/RNDIS.h b/LUFA/Drivers/USB/Class/RNDIS.h index 87616ae14..987a7e491 100644 --- a/LUFA/Drivers/USB/Class/RNDIS.h +++ b/LUFA/Drivers/USB/Class/RNDIS.h @@ -29,18 +29,19 @@ */ /** \ingroup Group_USBClassDrivers - * @defgroup Group_USBClassRNDIS RNDIS Device Class Driver - LUFA/Drivers/Class/RNDIS.h + * @defgroup Group_USBClassRNDIS RNDIS Class Driver - LUFA/Drivers/Class/RNDIS.h * * \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/RNDIS.c + * - LUFA/Drivers/USB/Class/Host/RNDIS.c * * \section Module Description * RNDIS Class Driver module. This module contains an internal implementation of the Microsoft USB RNDIS Networking - * Class, for Device USB mode only. User applications can use this class driver instead of implementing the RNDIS - * class manually via the low-level LUFA APIs. + * Class, for both Device and Host USB modes. User applications can use this class driver instead of implementing the + * RNDIS class manually via the low-level LUFA APIs. * - * This module is designed to simplify the user code by exposing only the required interface needed to interace with + * This module is designed to simplify the user code by exposing only the required interface needed to interface with * Hosts using the USB RNDIS Class. * * @{ @@ -52,10 +53,18 @@ /* 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/RNDIS.h" #endif + #if defined(USB_CAN_BE_HOST) + #include "Host/RNDIS.h" + #endif + #endif /** @} */