aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Host/MouseHostWithParser/MouseHostWithParser.c')
-rw-r--r--Demos/Host/MouseHostWithParser/MouseHostWithParser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/MouseHostWithParser/MouseHostWithParser.c b/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
index df063dab3..58a189f6b 100644
--- a/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
+++ b/Demos/Host/MouseHostWithParser/MouseHostWithParser.c
@@ -185,7 +185,7 @@ TASK(USB_Mouse_Host)
{
case HOST_STATE_Addressed:
/* Standard request to set the device configuration to configuration 1 */
- USB_HostRequest = (USB_Host_Request_Header_t)
+ USB_ControlRequest = (USB_Request_Header_t)
{
.bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_DEVICE),
.bRequest = REQ_SetConfiguration,