Set all CDC and MassStorage device mode demos (LowLevel and ClassDriver) to use the...
[pub/USBasp.git] / Demos / Device / ClassDriver / MassStorage / Descriptors.h
index 0fa147b..5cf653a 100644 (file)
 #define _DESCRIPTORS_H_\r
 \r
        /* Includes: */\r
+               #include <avr/pgmspace.h>\r
+\r
                #include <LUFA/Drivers/USB/USB.h>\r
+               #include <LUFA/Drivers/USB/Class/MassStorage.h>\r
 \r
-               #include <avr/pgmspace.h>\r
+               #if (USE_INTERNAL_SERIAL == NO_DESCRIPTOR)\r
+                       #warning USE_INTERNAL_SERIAL is not available on this AVR - please manually construct a device serial descriptor.\r
+               #endif\r
 \r
        /* Macros: */\r
                /** Endpoint number of the Mass Storage device-to-host data IN endpoint. */\r