summaryrefslogtreecommitdiff
path: root/Projects
diff options
context:
space:
mode:
authorDean Camera <[email protected]>2010-11-15 08:24:18 +0000
committerDean Camera <[email protected]>2010-11-15 08:24:18 +0000
commitb27f35536dce3f3ba9d3d3e8a1fa2e9c6cb9cec7 (patch)
tree98a54f378f83e76d5512c6359e19deb8439d0dcc /Projects
parentf2324fc2b4a926dc2db5d3e681a019949fe23342 (diff)
downloadqmk_firmware-b27f35536dce3f3ba9d3d3e8a1fa2e9c6cb9cec7.tar.gz
qmk_firmware-b27f35536dce3f3ba9d3d3e8a1fa2e9c6cb9cec7.zip
Fixed incorrect event name in the Benito project.
Diffstat (limited to 'Projects')
-rw-r--r--Projects/Benito/Benito.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/Projects/Benito/Benito.c b/Projects/Benito/Benito.c
index 37a58501a5..0e6eacb482 100644
--- a/Projects/Benito/Benito.c
+++ b/Projects/Benito/Benito.c
@@ -199,8 +199,11 @@ void EVENT_USB_Device_ConfigurationChanged(void)
LEDs_SetAllLEDs(ConfigSuccess ? LEDS_NO_LEDS : LEDMASK_ERROR);
}
-/** Event handler for the library USB Unhandled Control Request event. */
-void EVENT_USB_Device_UnhandledControlRequest(void)
+/** Event handler for the USB_ControlRequest event. This is used to catch and process control requests sent to
+ * the device from the USB host before passing along unhandled control requests to the library for processing
+ * internally.
+ */
+void EVENT_USB_Device_ControlRequest(void)
{
CDC_Device_ProcessControlRequest(&VirtualSerial_CDC_Interface);
}