Updated keyboard firmware to current LUFA version

This commit is contained in:
Fergus Leahy 2018-09-05 23:16:47 +01:00
parent b4cb8dbddf
commit 03335b6b37
3 changed files with 6 additions and 2 deletions

View File

@ -195,7 +195,7 @@ const USB_Descriptor_String_t PROGMEM TataconString = USB_STRING_DESCRIPTOR(L"Ta
* USB host.
*/
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
const uint8_t wIndex,
const uint16_t wIndex,
const void** const DescriptorAddress)
{
const uint8_t DescriptorType = (wValue >> 8);

View File

@ -98,7 +98,7 @@
/* Function Prototypes: */
uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
const uint8_t wIndex,
const uint16_t wIndex,
const void** const DescriptorAddress)
ATTR_WARN_UNUSED_RESULT ATTR_NON_NULL_PTR_ARG(3);

View File

@ -73,3 +73,7 @@ flashboot:
flash: all
sleep 1
py -2 DFU/hid_bootloader_loader.py atmega16u2 Keyboard.hex
flashC: all
sleep 1
../../lufa-LUFA-170418/Bootloaders/HID/HostLoaderApp/hid_bootloader_cli -mmcu=atmega16u2 -r Keyboard.hex