Set all CDC and MassStorage device mode demos (LowLevel and ClassDriver) to use the...
[pub/USBasp.git] / Demos / Device / LowLevel / USBtoSerial / Descriptors.h
index bf9e7df..a3d101e 100644 (file)
 \r
                #include <avr/pgmspace.h>\r
 \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
                /** Macro to define a CDC class-specific functional descriptor. CDC functional descriptors have a\r
                 *  uniform structure but variable sized data payloads, thus cannot be represented accurately by\r