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:
Dean Camera 2009-07-19 09:36:16 +00:00
parent 9d2613d908
commit d3fb6273aa
4 changed files with 44 additions and 30 deletions

View file

@ -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);