Enhanced class drivers to use the same public/private section seperations as other...
[pub/USBasp.git] / LUFA / Drivers / USB / Class / Host / CDC.c
index 30970f1..32cc9e6 100644 (file)
@@ -43,7 +43,7 @@ static uint8_t CDC_Host_ProcessConfigDescriptor(void)
        if (USB_GetDeviceConfigDescriptor(&ConfigDescriptorSize, NULL) != HOST_SENDCONTROL_Successful)\r
          return ControlError;\r
        \r
-       if (ConfigDescriptorSize > MAX_CONFIG_DESCRIPTOR_SIZE)\r
+       if (ConfigDescriptorSize > 512)\r
          return DescriptorTooLarge;\r
          \r
        ConfigDescriptorData = alloca(ConfigDescriptorSize);\r