#include <avr/pgmspace.h>\r
#include <avr/power.h>\r
#include <stdio.h>\r
+ #include <string.h>\r
\r
#include "ConfigDescriptor.h"\r
+ #include "Lib/PrinterCommands.h"\r
\r
#include <LUFA/Version.h>
#include <LUFA/Drivers/Misc/TerminalCodes.h>\r
\r
/** LED mask for the library LED driver, to indicate that an error has occurred in the USB interface. */\r
#define LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)\r
-\r
- #define PROTOCOL_UNIDIRECTIONAL 0x01\r
- #define PROTOCOL_BIDIRECTIONAL 0x02\r
- #define PROTOCOL_IEEE1284 0x03\r
- \r
- #define GET_DEVICE_ID 0\r
-\r
- /* Type Defines: */\r
- typedef struct\r
- {\r
- uint16_t Length;\r
- uint8_t String[128];\r
- } Device_ID_String_t;\r
-\r
- /* External Variables: */\r
- extern uint8_t PrinterProtocol;\r
+ \r
+ /** LED mask for the library LED driver, to indicate that the USB interface is busy. */\r
+ #define LEDMASK_USB_BUSY (LEDS_LED2)\r
\r
/* Function Prototypes: */\r
void EVENT_USB_DeviceAttached(void);\r
\r
void USB_Printer_Host(void);\r
\r
- bool GetDeviceID(void);\r
-\r
#endif\r