From 43c473530552acabcf5bb1db29555bfb5ea70b79 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 30 Jan 2011 21:02:31 +0000 Subject: 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. --- Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c') diff --git a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c index 3b7f26cf6e..e2cf4f0b20 100644 --- a/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c +++ b/Demos/Device/ClassDriver/DualVirtualSerial/DualVirtualSerial.c @@ -156,7 +156,7 @@ void CheckJoystickMovement(void) { ActionSent = true; - CDC_Device_SendString(&VirtualSerial1_CDC_Interface, ReportString, strlen(ReportString)); + CDC_Device_SendString(&VirtualSerial1_CDC_Interface, ReportString); } } -- cgit v1.2.3