X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/6865a7bc09e31d3bbebb33eefb6475c8713351bd..0d5baf9bb3e88ebcbc53cc9a71566582d585f7dd:/Projects/Magstripe/Descriptors.c?ds=sidebyside diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 785f84951..dd6b3fb63 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -142,7 +142,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = .HIDSpec = VERSION_BCD(01.11), .CountryCode = 0x00, - .TotalHIDReports = 0x01, + .TotalHIDDescriptors = 1, .HIDReportType = DTYPE_Report, .HIDReportLength = sizeof(KeyboardReport) }, @@ -190,7 +190,7 @@ USB_Descriptor_String_t PROGMEM ProductString = .UnicodeString = L"Magnetic Card Reader" }; -/** This function is called by the library when in device mode, and must be overridden (see StdDescriptors.h +/** This function is called by the library when in device mode, and must be overridden (see library "USB Descriptors" * documentation) by the application code so that the address and size of a requested descriptor can be given * to the USB library. When the device receives a Get Descriptor request on the control endpoint, this function * is called so that the descriptor details can be passed back and the appropriate descriptor sent back to the