aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-11-04 13:16:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-11-04 13:16:53 +0000
commit8ba51f090f7cafb36e1108cc58e68f5d71bc13c0 (patch)
tree20e4d621f425148be803af0ab2f5c562bf6307d2 /Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h
parent4670b39070afd12483b2dd31e2ec6300ce73eb39 (diff)
downloadlufa-8ba51f090f7cafb36e1108cc58e68f5d71bc13c0.tar.gz
lufa-8ba51f090f7cafb36e1108cc58e68f5d71bc13c0.tar.bz2
lufa-8ba51f090f7cafb36e1108cc58e68f5d71bc13c0.zip
Added new Printer Host mode Class driver.
Added new Printer Host mode ClassDriver demo. Added table of supported classes and modes to the main USB Class Driver documentation.
Diffstat (limited to 'Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h')
-rw-r--r--Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h
index cb8f04618..c8c1b137b 100644
--- a/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h
+++ b/Demos/Host/LowLevel/PrinterHost/Lib/PrinterCommands.h
@@ -44,13 +44,13 @@
/* Macros: */
/** Printer class-specific request to retrieve the printer's ID string */
- #define GET_DEVICE_ID 0
+ #define REQ_GetDeviceID 0
/** Printer class-specific request to retrieve the printer's virtual port status flags */
- #define GET_PORT_STATUS 1
+ #define REQ_GetPortStatus 1
/** Printer class-specific request to soft-reset the device */
- #define SOFT_RESET 2
+ #define REQ_SoftReset 2
/** Pipe number of the Printer data IN pipe */
#define PRINTER_DATA_IN_PIPE 1