Fix (USB) serial logf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19634 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
91ad8f0029
commit
aec45210ea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue