rendered paste bodyIndex: firmware/logf.c
===================================================================
--- firmware/logf.c (revision 13139)
+++ firmware/logf.c (working copy)
@@ -31,6 +31,7 @@
#include "lcd-remote.h"
#include "logf.h"
#include "serial.h"
+#include "debug.h"
/* Only provide all this if asked to */
#ifdef ROCKBOX_HAS_LOGF
@@ -108,6 +109,7 @@
serial_tx("\r\n");
#endif
va_end(ap);
+ DEBUGF("%s\n", ptr);
if(len < MAX_LOGF_ENTRY)
/* pad with spaces up to the MAX_LOGF_ENTRY byte border */
memset(ptr+len, ' ', MAX_LOGF_ENTRY-len);