Fix (USB) serial logf()

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19634 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2009-01-01 19:54:30 +00:00
parent 91ad8f0029
commit aec45210ea
1 changed files with 3 additions and 3 deletions

View File

@ -132,12 +132,12 @@ void _logf(const char *format, ...)
len = strlen(buf);
#ifdef HAVE_SERIAL
serial_tx(ptr);
serial_tx(buf);
serial_tx("\r\n");
#endif
#ifdef USB_SERIAL
usb_serial_send(ptr,len);
usb_serial_send("\r\n",2);
usb_serial_send(buf, len);
usb_serial_send("\r\n", 2);
#endif
tlen = 0;