Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value.

This commit is contained in:
Dean Camera 2010-08-24 13:16:16 +00:00
parent 092f82e06f
commit b7b8a9edfa
6 changed files with 18 additions and 12 deletions

View file

@ -70,6 +70,9 @@
/** 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 PrinterInterfaceNumber;
/* Function Prototypes: */
void EVENT_USB_Host_DeviceAttached(void);
void EVENT_USB_Host_DeviceUnattached(void);