diff options
Diffstat (limited to 'Demos/Host/LowLevel/PrinterHost/PrinterHost.c')
-rw-r--r-- | Demos/Host/LowLevel/PrinterHost/PrinterHost.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c index 861325a4bc..7c1876fe03 100644 --- a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c +++ b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c @@ -174,11 +174,11 @@ void USB_Printer_Host(void) {
USB_ControlRequest = (USB_Request_Header_t)
{
- bmRequestType: (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_INTERFACE),
- bRequest: REQ_SetInterface,
- wValue: PrinterAltSetting,
- wIndex: PrinterInterfaceNumber,
- wLength: 0,
+ .bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_STANDARD | REQREC_INTERFACE),
+ .bRequest = REQ_SetInterface,
+ .wValue = PrinterAltSetting,
+ .wIndex = PrinterInterfaceNumber,
+ .wLength = 0,
};
if ((ErrorCode = USB_Host_SendControlRequest(NULL)) != HOST_SENDCONTROL_Successful)
|