diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-20 14:12:05 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-07-20 14:12:05 +0000 |
commit | 18f7cd3325418585c1d32426456379356247226d (patch) | |
tree | b3d3c1912ff517bfeae7b4314a2fe5fafbbeb42b /Demos/Host/LowLevel/PrinterHost/PrinterHost.c | |
parent | 4f747e7b7607b2dbd8521230ddf3bdbe3dcb29a8 (diff) | |
download | lufa-18f7cd3325418585c1d32426456379356247226d.tar.gz lufa-18f7cd3325418585c1d32426456379356247226d.tar.bz2 lufa-18f7cd3325418585c1d32426456379356247226d.zip |
Ensure control pipe is selected in the PrinterHost demo before trying to send control requests.
Diffstat (limited to 'Demos/Host/LowLevel/PrinterHost/PrinterHost.c')
-rw-r--r-- | Demos/Host/LowLevel/PrinterHost/PrinterHost.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c index 64adf22c7..5623dc7e7 100644 --- a/Demos/Host/LowLevel/PrinterHost/PrinterHost.c +++ b/Demos/Host/LowLevel/PrinterHost/PrinterHost.c @@ -226,8 +226,7 @@ void USB_Printer_Host(void) Printer_Data_t TestPageData =
{
-// "\033%-12345X\033E LUFA PCL Test Page \033E\033%-12345X",
- "\033@\033i\001\033X\001\060\000\r\nLUFA ESCP/2 Test Page\r\n",
+ "\033%-12345X\033E LUFA PCL Test Page \033E\033%-12345X",
(sizeof(TestPageData.Data) - 1)
};
|