aboutsummaryrefslogtreecommitdiff
path: root/LUFA/Drivers/USB/Class/Host/Printer.c
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/USB/Class/Host/Printer.c')
-rw-r--r--LUFA/Drivers/USB/Class/Host/Printer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/Printer.c b/LUFA/Drivers/USB/Class/Host/Printer.c
index 4249a8b702..e69948b1e9 100644
--- a/LUFA/Drivers/USB/Class/Host/Printer.c
+++ b/LUFA/Drivers/USB/Class/Host/Printer.c
@@ -111,9 +111,9 @@ static uint8_t DCOMP_PRNT_Host_NextPRNTInterface(void* CurrentDescriptor)
USB_Descriptor_Interface_t* CurrentInterface = DESCRIPTOR_PCAST(CurrentDescriptor,
USB_Descriptor_Interface_t);
- if ((CurrentInterface->Class == PRINTER_CLASS) &&
- (CurrentInterface->SubClass == PRINTER_SUBCLASS) &&
- (CurrentInterface->Protocol == PRINTER_PROTOCOL))
+ if ((CurrentInterface->Class == PRNT_CSCP_PrinterClass) &&
+ (CurrentInterface->SubClass == PRNT_CSCP_PrinterSubclass) &&
+ (CurrentInterface->Protocol == PRNT_CSCP_BidirectionalProtocol))
{
return DESCRIPTOR_SEARCH_Found;
}