Moved USB Host state machine code out from USBTask.c and into Host.c, where it more...
[pub/USBasp.git] / Demos / Device / DualCDC / Descriptors.c
index e5d7ee2..b128b4f 100644 (file)
@@ -51,7 +51,7 @@ USB_Descriptor_Device_t PROGMEM DeviceDescriptor =
        .SubClass               = 0x02,\r
        .Protocol               = 0x01,\r
                                \r
        .SubClass               = 0x02,\r
        .Protocol               = 0x01,\r
                                \r
-       .Endpoint0Size          = 8,\r
+       .Endpoint0Size          = FIXED_CONTROL_ENDPOINT_SIZE,\r
                \r
        .VendorID               = 0x03EB,\r
        .ProductID              = 0x204E,\r
                \r
        .VendorID               = 0x03EB,\r
        .ProductID              = 0x204E,\r
@@ -336,7 +336,7 @@ USB_Descriptor_String_t PROGMEM ProductString =
        .UnicodeString          = L"LUFA Dual CDC Demo"\r
 };\r
 \r
        .UnicodeString          = L"LUFA Dual CDC Demo"\r
 };\r
 \r
-/** This function is called by the library when in device mode, and must be overridden (see StdDescriptors.h\r
+/** This function is called by the library when in device mode, and must be overridden (see library "USB Descriptors"\r
  *  documentation) by the application code so that the address and size of a requested descriptor can be given\r
  *  to the USB library. When the device receives a Get Descriptor request on the control endpoint, this function\r
  *  is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the\r
  *  documentation) by the application code so that the address and size of a requested descriptor can be given\r
  *  to the USB library. When the device receives a Get Descriptor request on the control endpoint, this function\r
  *  is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the\r