diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-11-05 05:15:20 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-11-05 05:15:20 +0000 |
commit | fb76acb0844a2528c32610455a8c7cd5266f3027 (patch) | |
tree | 24ea91f9555876585b311fff33fa271468b9e081 /LUFA/Drivers/USB/USB.h | |
parent | 99a9e415efd1e27d902427ccd1aa6e4a9f9d4d05 (diff) | |
download | lufa-fb76acb0844a2528c32610455a8c7cd5266f3027.tar.gz lufa-fb76acb0844a2528c32610455a8c7cd5266f3027.tar.bz2 lufa-fb76acb0844a2528c32610455a8c7cd5266f3027.zip |
Renamed the EVENT_USB_Device_UnhandledControlRequest() event to EVENT_USB_Device_ControlRequest() as it is now fired before the library request handlers, not afterwards.
Diffstat (limited to 'LUFA/Drivers/USB/USB.h')
-rw-r--r-- | LUFA/Drivers/USB/USB.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/USB/USB.h b/LUFA/Drivers/USB/USB.h index 1e1c26e88..fcb74006f 100644 --- a/LUFA/Drivers/USB/USB.h +++ b/LUFA/Drivers/USB/USB.h @@ -214,14 +214,14 @@ * * The final standardized Device Class Driver function is the Control Request handler function * <i><b>{Class Name}</b>_Device_ProcessControlRequest()</i>, which should be called when the - * \ref EVENT_USB_Device_UnhandledControlRequest() event fires. This function should also be - * called for each class driver instance, using the address of the instance to operate on as - * the function's parameter. The request handler will abort if it is determined that the current - * request is not targeted at the given class driver instance, thus these methods can safely be - * called one-after-another in the event handler with no form of error checking: + * \ref EVENT_USB_Device_ControlRequest() event fires. This function should also be called for + * each class driver instance, using the address of the instance to operate on as the function's + * parameter. The request handler will abort if it is determined that the current request is not + * targeted at the given class driver instance, thus these methods can safely be called + * one-after-another in the event handler with no form of error checking: * * \code - * void EVENT_USB_Device_UnhandledControlRequest(void) + * void EVENT_USB_Device_ControlRequest(void) * { * Audio_Device_ProcessControlRequest(&My_Audio_Interface); * } |