From d83d87e1b8aa8c76e062f01588066d9ab4233828 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 29 Mar 2009 06:31:24 +0000 Subject: [PATCH] Fixed MagStripe keyboard interface polling interval, increased to 4ms from 2ms to maintain compatibility with Apple MacOS X. Fixed changelog comments on the size of the track buffers when compiling for the AT90USBXXX6/7. --- LUFA/ChangeLog.txt | 4 ++-- Projects/Magstripe/Descriptors.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LUFA/ChangeLog.txt b/LUFA/ChangeLog.txt index 04bfdc00bb..0b00a898bc 100644 --- a/LUFA/ChangeLog.txt +++ b/LUFA/ChangeLog.txt @@ -15,7 +15,7 @@ * - Fixed Configuration Descriptor search routine freezing when a comparitor returned a failure * - Removed HID report item serial dump in the MouseHostWithParser and KeyboardHostWithParser - useful only for debugging, and * slowed down the enumeration of HID devices too much - * - Increased the number of bits per track which can be read in the MagStripe project to 20480 when compiled for the AT90USBXXX6/7 + * - Increased the number of bits per track which can be read in the MagStripe project to 8192 when compiled for the AT90USBXXX6/7 * - Fixed KeyboardMouse demo discarding the wIndex value in the REQ_GetReport request * - USBtoSerial demo now discards all Rx data when not connected to a USB host, rather than buffering characters for transmission * next time the device is attached to a host. @@ -41,7 +41,7 @@ * - Keyboard and Mouse host demos (normal and data interrupt driven) combined into unified keyboard and mouse demos * - Removed AVRISP_Programmer project due to code quality concerns * - Fixed CDC demo not sending an empty packet after each transfer to prevent the host from buffering incomming data - * - Fixed documentation typoes and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg) + * - Fixed documentation typos and preprocessor checks relating to misspellings of the USE_RAM_DESCRIPTORS token (thanks to Ian Gregg) * - Fixed USBTask.h not conditionally including HostChapter9.h only when CAN_BE_DEVICE is defined (thanks to Ian Gregg) * - Fixed incorrect ADC driver init register manipulation (thanks to Tobias) * diff --git a/Projects/Magstripe/Descriptors.c b/Projects/Magstripe/Descriptors.c index 6811f5266e..71abca666f 100644 --- a/Projects/Magstripe/Descriptors.c +++ b/Projects/Magstripe/Descriptors.c @@ -154,7 +154,7 @@ USB_Descriptor_Configuration_t PROGMEM ConfigurationDescriptor = EndpointAddress: (ENDPOINT_DESCRIPTOR_DIR_IN | KEYBOARD_EPNUM), Attributes: EP_TYPE_INTERRUPT, EndpointSize: KEYBOARD_EPSIZE, - PollingIntervalMS: 0x02 + PollingIntervalMS: 0x04 }, };