Changed the signature of the CALLBACK_USB_GetDescriptor() callback function so that...
[pub/USBasp.git] / LUFA / Drivers / USB / HighLevel / DeviceStandardReq.c
index 64af140..1832d15 100644 (file)
@@ -254,8 +254,8 @@ static void USB_Device_GetInternalSerialDescriptor(void)
 
 static void USB_Device_GetDescriptor(void)
 {
-       void*    DescriptorPointer;
-       uint16_t DescriptorSize;
+       const void* DescriptorPointer;
+       uint16_t    DescriptorSize;
        
        #if !defined(USE_FLASH_DESCRIPTORS) && !defined(USE_EEPROM_DESCRIPTORS) && !defined(USE_RAM_DESCRIPTORS)
        uint8_t  DescriptorAddressSpace;