forked from mfulz_github/qmk_firmware
Fix errors in the KeyboardHost demo which prevented correct compilation.
This commit is contained in:
parent
37b2130fb2
commit
ba7cd3f22e
|
@ -117,13 +117,13 @@ DESCRIPTOR_COMPARATOR(NextKeyboardInterface)
|
||||||
{
|
{
|
||||||
/* Check the HID descriptor class and protocol, break out if correct class/protocol interface found */
|
/* Check the HID descriptor class and protocol, break out if correct class/protocol interface found */
|
||||||
if ((DESCRIPTOR_CAST(CurrentDescriptor, USB_Descriptor_Interface_t).Class == KEYBOARD_CLASS) &&
|
if ((DESCRIPTOR_CAST(CurrentDescriptor, USB_Descriptor_Interface_t).Class == KEYBOARD_CLASS) &&
|
||||||
(DESCRIPTOR_CAST(CurrentDescriptor, USB_Descriptor_Interface_t).Subclass == KEYBOARD_SUBCLASS))
|
(DESCRIPTOR_CAST(CurrentDescriptor, USB_Descriptor_Interface_t).Protocol == KEYBOARD_PROTOCOL))
|
||||||
{
|
{
|
||||||
return DESCRIPTOR_SEARCH_Found;
|
return DESCRIPTOR_SEARCH_Found;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Descriptor_Search_NotFound;
|
return DESCRIPTOR_SEARCH_NotFound;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Descriptor comparator function. This comparator function is can be called while processing an attached USB device's
|
/** Descriptor comparator function. This comparator function is can be called while processing an attached USB device's
|
||||||
|
|
|
@ -21,7 +21,7 @@ all:
|
||||||
make -C GenericHIDHost all
|
make -C GenericHIDHost all
|
||||||
|
|
||||||
make -C KeyboardHost clean
|
make -C KeyboardHost clean
|
||||||
make -C KeyboardHostWithParser all
|
make -C KeyboardHost all
|
||||||
|
|
||||||
make -C MassStorageHost clean
|
make -C MassStorageHost clean
|
||||||
make -C MassStorageHost all
|
make -C MassStorageHost all
|
||||||
|
|
Loading…
Reference in New Issue