aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAJM <poslathian@poslathian.(none)>2010-04-25 15:55:04 -0400
committerbnewbold <bnewbold@robocracy.org>2010-05-20 22:09:16 -0400
commit7b1e00bca888247efddddd28912d51e9ba7112ba (patch)
tree8317dda0f3e937182bf8628addbc1648ae41be8d
parentcd172b2d5ed1ff486eab399e4da5af8315cddc8b (diff)
downloadlibrambutan-7b1e00bca888247efddddd28912d51e9ba7112ba.tar.gz
librambutan-7b1e00bca888247efddddd28912d51e9ba7112ba.zip
added carraige feed to newline send on the test function usbSendHello
-rw-r--r--core/usb/usb.c4
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);