projects
/
pub
/
USBasp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f2324fc
)
Fixed incorrect event name in the Benito project.
author
Dean Camera
<dean@fourwalledcubicle.com>
Mon, 15 Nov 2010 08:24:18 +0000
(08:24 +0000)
committer
Dean Camera
<dean@fourwalledcubicle.com>
Mon, 15 Nov 2010 08:24:18 +0000
(08:24 +0000)
Projects/Benito/Benito.c
patch
|
blob
|
blame
|
history
diff --git
a/Projects/Benito/Benito.c
b/Projects/Benito/Benito.c
index
37a5850
..
0e6eacb
100644
(file)
--- 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);
}
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);
}
{
CDC_Device_ProcessControlRequest(&VirtualSerial_CDC_Interface);
}