Splatmeme-Printer icon indicating copy to clipboard operation
Splatmeme-Printer copied to clipboard

Thanks it finally works! Have to change a line in LUFA but OK. I just want to know why it uses the middle size dot brush?

Open WesternGun opened this issue 6 years ago • 0 comments

First I saw the previous declaration of 'CALLBACK_USB_GetDescriptor was here error. It is because in LUFA, LUFA\Drivers\USB\Core\Device.h, line 133, has a definition of:

uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
		                                    const uint8_t wIndex,
		                                    const void** const DescriptorAddress

And in our code, in Descriptor.h, we have:

uint16_t CALLBACK_USB_GetDescriptor(
    const uint16_t wValue,
    const uint16_t wIndex,
    const void** const DescriptorAddress
)

wIndex has different type. Change that and all will be OK and compilation is good.

WesternGun avatar Oct 07 '18 19:10 WesternGun