From: Dean Camera Date: Sun, 7 Nov 2010 12:54:52 +0000 (+0000) Subject: Fixed broken input in the MagStripe reader project due to an incorrect HID report... X-Git-Tag: LUFA-110528-BETA~168 X-Git-Url: http://git.linex4red.de/pub/USBasp.git/commitdiff_plain/bac860b173c938bda02be4d2b1e6c72d21380a38 Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor. --- diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt index 68b042e4f..726d9abb9 100644 --- a/LUFA/ManPages/ChangeLog.txt +++ b/LUFA/ManPages/ChangeLog.txt @@ -98,6 +98,7 @@ * - Fixed MIDI_Host_Flush() not aborting early when the specified MIDI host interface was not configured * - Fixed MIDI class driver send routines silently discarding packets if the endpoint or pipe is busy (thanks to Robin Green) * - Fixed USBtoSerial and XPLAINBridge demos discarding data from the PC if the send buffer becomes full + * - Fixed broken input in the MagStripe reader project due to an incorrect HID report descriptor * * \section Sec_ChangeLog100807 Version 100807 * New: diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 83de760ea..49ef15987 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -60,7 +60,7 @@ USB_Descriptor_HIDReport_Datatype_t PROGMEM KeyboardReport[] = 0x95, 0x01, /* Report Count (1) */ 0x75, 0x08, /* Report Size (8) */ 0x81, 0x03, /* Input (Const, Variable, Absolute) */ - 0x95, 0x01, /* Report Count (1) */ + 0x95, 0x06, /* Report Count (6) */ 0x75, 0x08, /* Report Size (8) */ 0x15, 0x00, /* Logical Minimum (0) */ 0x25, 0x65, /* Logical Maximum (101) */