diff options
-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); |