X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=protocol%2Flufa%2Fdescriptor.h;h=a2db4bfd7b6604c1aea9837c3db7c5f0501bcfe1;hb=37cf2607648a40bbac0b37f7e0838f240e66450a;hp=e0acec805093811096f5ddbb3b0eae9ae35b2b18;hpb=22854eb71b84a10ebad0f85841f2b99d38e1da8c;p=tmk_firmware.git diff --git a/protocol/lufa/descriptor.h b/protocol/lufa/descriptor.h index e0acec8..a2db4bf 100644 --- a/protocol/lufa/descriptor.h +++ b/protocol/lufa/descriptor.h @@ -162,6 +162,7 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, /* new API */ #if LUFA_VERSION_INTEGER < 0x140302 + #undef VERSION_BCD #define VERSION_BCD(Major, Minor, Revision) \ CPU_TO_LE16( ((Major & 0xFF) << 8) | \ ((Minor & 0x0F) << 4) | \