diff options
author | AJM <poslathian@poslathian.(none)> | 2010-04-25 15:55:04 -0400 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2010-05-20 22:09:16 -0400 |
commit | 7b1e00bca888247efddddd28912d51e9ba7112ba (patch) | |
tree | 8317dda0f3e937182bf8628addbc1648ae41be8d /core/usb/usb.c | |
parent | cd172b2d5ed1ff486eab399e4da5af8315cddc8b (diff) | |
download | librambutan-7b1e00bca888247efddddd28912d51e9ba7112ba.tar.gz librambutan-7b1e00bca888247efddddd28912d51e9ba7112ba.zip |
added carraige feed to newline send on the test function usbSendHello
Diffstat (limited to 'core/usb/usb.c')
-rw-r--r-- | core/usb/usb.c | 4 |
1 files 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); |