From 13b277cfcbcd1b72a99e1cd935b00e2adb784a01 Mon Sep 17 00:00:00 2001 From: Dean 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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1647 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Demos/Device/ClassDriver/VirtualSerial') diff --git a/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c b/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c index 68bf5e8d..6dac7b9b 100644 --- a/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c +++ b/Demos/Device/ClassDriver/VirtualSerial/VirtualSerial.c @@ -134,7 +134,7 @@ void CheckJoystickMovement(void) fputs(ReportString, &USBSerialStream); /* Alternatively, without the stream: */ - // CDC_Device_SendString(&VirtualSerial_CDC_Interface, ReportString, strlen(ReportString)); + // CDC_Device_SendString(&VirtualSerial_CDC_Interface, ReportString); } } -- cgit v1.2.3