Oops: Really disable building of Projects/Host/ClassDriver directory in the Projects...
[pub/USBasp.git] / Demos / Device / ClassDriver / USBtoSerial / Descriptors.h
index 9e372e3..f78f395 100644 (file)
                #include <avr/pgmspace.h>\r
 \r
                #include <LUFA/Drivers/USB/USB.h>\r
-               #include <LUFA/Drivers/USB/Class/Device/CDC.h>\r
+               #include <LUFA/Drivers/USB/Class/CDC.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
                /** Endpoint number of the CDC device-to-host notification IN endpoint. */\r