From 5d4478b3b4ab9b3e539155bc8f609e188c76547e Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Sun, 16 Aug 2009 12:37:28 +0000
Subject: [PATCH] Fix misspelt event name in the Class driver USBtoSerial demo,
 preventing correct operation.

---
 Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c | 2 +-
 LUFA/ManPages/ChangeLog.txt                        | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c
index 8ef07f1c3..c46bb5d01 100644
--- a/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c
+++ b/Demos/Device/ClassDriver/USBtoSerial/USBtoSerial.c
@@ -137,7 +137,7 @@ void EVENT_USB_Device_ConfigurationChanged(void)
 }
 
 /** Event handler for the library USB Unhandled Control Request event. */
-void EVENT_USB_Device_UnhandledControlPacket(void)
+void EVENT_USB_Device_UnhandledControlRequest(void)
 {
 	CDC_Device_ProcessControlRequest(&VirtualSerial_CDC_Interface);
 }
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index de2fa810c..11c21f024 100644
--- a/LUFA/ManPages/ChangeLog.txt
+++ b/LUFA/ManPages/ChangeLog.txt
@@ -26,6 +26,9 @@
   *  - Fixed swapped paremeters in the HID state memory copy call while processing a HID PUSH item in the HID report parser
   *  - Fixed memory corruption HID report parser when too many COLLECTION or PUSH items were processed
   *  - Fixed HID report parser not resetting the FEATURE item count when a REPORT ID item is encountered
+  *  - Fixed USBtoSerial demos not reading in UDR1 when the USART receives data but the USB interface is not enumerated,
+  *    causing continuous USART receive interrupts
+  *  - Fixed misspelt event name in the Class driver USBtoSerial demo, preventing correct operation
   *
   *
   *  \section Sec_ChangeLog090810 Version 090810
-- 
GitLab