summaryrefslogtreecommitdiff
path: root/firmware/logf.c
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2009-01-01 19:54:30 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2009-01-01 19:54:30 +0000
commitaec45210ea624a071bcda6c0db535e5c37df1375 (patch)
tree33f67b9c6a87d898d93c401ec87084c1113ff79f /firmware/logf.c
parent91ad8f0029fe2b4295a89393d7cdbc4707c46c17 (diff)
downloadrockbox-aec45210ea624a071bcda6c0db535e5c37df1375.tar.gz
rockbox-aec45210ea624a071bcda6c0db535e5c37df1375.zip
Fix (USB) serial logf()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19634 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/logf.c')
-rw-r--r--firmware/logf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/logf.c b/firmware/logf.c
index 4296a7a342..054baa14ea 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -132,12 +132,12 @@ void _logf(const char *format, ...)
132 132
133 len = strlen(buf); 133 len = strlen(buf);
134#ifdef HAVE_SERIAL 134#ifdef HAVE_SERIAL
135 serial_tx(ptr); 135 serial_tx(buf);
136 serial_tx("\r\n"); 136 serial_tx("\r\n");
137#endif 137#endif
138#ifdef USB_SERIAL 138#ifdef USB_SERIAL
139 usb_serial_send(ptr,len); 139 usb_serial_send(buf, len);
140 usb_serial_send("\r\n",2); 140 usb_serial_send("\r\n", 2);
141#endif 141#endif
142 142
143 tlen = 0; 143 tlen = 0;