From b7b8a9edfacb000c138eb6e7ad77c515c3a82050 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 24 Aug 2010 13:16:16 +0000 Subject: Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value. --- Demos/Host/LowLevel/PrinterHost/PrinterHost.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Demos/Host/LowLevel/PrinterHost/PrinterHost.h') diff --git a/Demos/Host/LowLevel/PrinterHost/PrinterHost.h b/Demos/Host/LowLevel/PrinterHost/PrinterHost.h index 78583f0e4..2ba270f7d 100644 --- a/Demos/Host/LowLevel/PrinterHost/PrinterHost.h +++ b/Demos/Host/LowLevel/PrinterHost/PrinterHost.h @@ -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); -- cgit v1.2.3