summaryrefslogtreecommitdiff
path: root/firmware/logf.c
diff options
context:
space:
mode:
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;