Fix PrinterHost demo so that it will only enumerate printers with Bidirectional protocol encapsulation. Change enumeration code to automatically select the correct alternate setting for the printer interface to select the bidirectional protocol.
This commit is contained in:
parent
9d2613d908
commit
d3fb6273aa
4 changed files with 44 additions and 30 deletions
|
@ -62,9 +62,6 @@
|
|||
|
||||
/** LED mask for the library LED driver, to indicate that the USB interface is busy. */
|
||||
#define LEDMASK_USB_BUSY (LEDS_LED2)
|
||||
|
||||
/* External Variables: */
|
||||
extern uint8_t PrinterProtocol;
|
||||
|
||||
/* Function Prototypes: */
|
||||
void EVENT_USB_DeviceAttached(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue