diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-01-30 21:02:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-01-30 21:02:31 +0000 |
commit | 43c473530552acabcf5bb1db29555bfb5ea70b79 (patch) | |
tree | b67e5b8295633262ed839e1c74f81a65b4dd59ea /Demos/Host/ClassDriver | |
parent | afd828c095f38753e989391eab670b8736e4bd6e (diff) | |
download | lufa-43c473530552acabcf5bb1db29555bfb5ea70b79.tar.gz lufa-43c473530552acabcf5bb1db29555bfb5ea70b79.tar.bz2 lufa-43c473530552acabcf5bb1db29555bfb5ea70b79.zip |
Renamed the PRNT_Host_SendString(), CDC_Host_SendString() and CDC_Device_SendString() functions to *_SendData(), and added new versions of the *_SendString() routines that expect a null terminated string instead.
Added new Serial_SendData() function to the Serial driver.
Diffstat (limited to 'Demos/Host/ClassDriver')
-rw-r--r-- | Demos/Host/ClassDriver/PrinterHost/PrinterHost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c b/Demos/Host/ClassDriver/PrinterHost/PrinterHost.c index 7e9a2c7a1..e5dfc1b3c 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_SendString(&Printer_PRNT_Interface, &TestPageData, TestPageLength) != PIPE_RWSTREAM_NoError) + if (PRNT_Host_SendData(&Printer_PRNT_Interface, &TestPageData, TestPageLength) != PIPE_RWSTREAM_NoError) { puts_P(PSTR("Error Sending Page Data.\r\n")); LEDs_SetAllLEDs(LEDMASK_USB_ERROR); |