aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/ClassDriver
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-09-07 03:38:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-09-07 03:38:11 +0000
commit7aaf9b2036784fadff048172029d0a2029da0ec9 (patch)
tree351a74c41f7fdf32bc4904b942b48e7975fdbc1a /Demos/Host/ClassDriver
parent6e011f88d9c9fac534958ca83e3f460de7fa1497 (diff)
downloadlufa-7aaf9b2036784fadff048172029d0a2029da0ec9.tar.gz
lufa-7aaf9b2036784fadff048172029d0a2029da0ec9.tar.bz2
lufa-7aaf9b2036784fadff048172029d0a2029da0ec9.zip
Added new PRNT_Host_BytesReceived() and PRNT_Host_ReceiveByte() functions to the Print Host Class driver.
Diffstat (limited to 'Demos/Host/ClassDriver')
-rw-r--r--Demos/Host/ClassDriver/PrinterHost/PrinterHost.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
index e0d9726b6..677b96112 100644
--- a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
+++ b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c
@@ -134,7 +134,7 @@ int main(void)
printf_P(PSTR("Sending Test Page (%d bytes)...\r\n"), TestPageLength);
- if (PRNT_Host_SendData(&Printer_PRNT_Interface, &TestPageData, TestPageLength) != PIPE_RWSTREAM_NoError)
+ if (PRNT_Host_SendString(&Printer_PRNT_Interface, &TestPageData, TestPageLength) != PIPE_RWSTREAM_NoError)
{
puts_P(PSTR("Error Sending Page Data.\r\n"));
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);