diff options
-rw-r--r-- | firmware/logf.c | 6 |
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, ...) 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; |