projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed LowLevel PrinterHost demo not sending control requests to the attached printer...
[pub/lufa.git]
/
LUFA
/
Drivers
/
USB
/
Class
/
Host
/
Printer.c
diff --git
a/LUFA/Drivers/USB/Class/Host/Printer.c
b/LUFA/Drivers/USB/Class/Host/Printer.c
index
31ba6c6
..
6c55f6a
100644
(file)
--- a/
LUFA/Drivers/USB/Class/Host/Printer.c
+++ b/
LUFA/Drivers/USB/Class/Host/Printer.c
@@
-171,10
+171,10
@@
uint8_t PRNT_Host_SoftReset(USB_ClassInfo_PRNT_Host_t* const PRNTInterfaceInfo)
USB_ControlRequest = (USB_Request_Header_t)
{
.bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE),
USB_ControlRequest = (USB_Request_Header_t)
{
.bmRequestType = (REQDIR_HOSTTODEVICE | REQTYPE_CLASS | REQREC_INTERFACE),
- .bRequest = REQ_SoftReset,
- .wValue = 0,
- .wIndex = PRNTInterfaceInfo->State.InterfaceNumber,
- .wLength = 0,
+ .bRequest
= REQ_SoftReset,
+ .wValue
= 0,
+ .wIndex
= PRNTInterfaceInfo->State.InterfaceNumber,
+ .wLength
= 0,
};
Pipe_SelectPipe(PIPE_CONTROLPIPE);
};
Pipe_SelectPipe(PIPE_CONTROLPIPE);