From 7b1e00bca888247efddddd28912d51e9ba7112ba Mon Sep 17 00:00:00 2001 From: AJM Date: Sun, 25 Apr 2010 15:55:04 -0400 Subject: added carraige feed to newline send on the test function usbSendHello --- core/usb/usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/usb/usb.c b/core/usb/usb.c index da0f37a..cb8de52 100644 --- a/core/usb/usb.c +++ b/core/usb/usb.c @@ -416,10 +416,10 @@ void usbSendHello(void) { uint8 bufin = 48 + recvBufIn;; uint8 bufout = 48 + recvBufOut; - char *line = "\n"; + char *line = "\r\n"; while(usbSendBytes(&bufin,1) == 0); while(usbSendBytes(&bufout,1) == 0); - while(usbSendBytes((uint8*)line,1) == 0); + while(usbSendBytes((uint8*)line,2) == 0); uint8 recv[64]; usbReceiveBytes(&recv[0],1); -- cgit v1.2.3