aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/PrinterHost/PrinterHost.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-08-24 13:16:16 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-08-24 13:16:16 +0000
commitb7b8a9edfacb000c138eb6e7ad77c515c3a82050 (patch)
tree4b5afe16c3d22fdf3e2b5a7fe175ba5062404c12 /Demos/Host/LowLevel/PrinterHost/PrinterHost.h
parent092f82e06fc64436fd957b4b6b8d5ce33532efae (diff)
downloadlufa-b7b8a9edfacb000c138eb6e7ad77c515c3a82050.tar.gz
lufa-b7b8a9edfacb000c138eb6e7ad77c515c3a82050.tar.bz2
lufa-b7b8a9edfacb000c138eb6e7ad77c515c3a82050.zip
Fixed LowLevel PrinterHost demo not sending control requests to the attached printer with the correct printer interface wIndex value.
Diffstat (limited to 'Demos/Host/LowLevel/PrinterHost/PrinterHost.h')
-rw-r--r--Demos/Host/LowLevel/PrinterHost/PrinterHost.h3
1 files changed, 3 insertions, 0 deletions
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);