Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#12264 - Make logf() output via serial optional (advanced configure option)

Attached to Project: Rockbox
Opened by Ralf Ertzinger (Lalufu) - Thursday, 08 September 2011, 13:22 GMT+2
Task Type Patches
Category Operating System/Drivers
Status Unconfirmed
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

By default logf() will output to the serial port if that is enabled (HAVE_SERIAL). This is kind of distracting if logf() is used to debug serial communication itself.

The attached patch does the following:
- make logf() only output to serial if LOGF_SERIAL is defined (defaults to undef)
- adds an advanced configure option to enable LOGF_SERIAL

The patch is against r30429.
   rockbox-30429-logf-serial.patch (2.4 KiB)
 tools/configure |   16 ++++++++++++++--
 firmware/logf.c |    4 ++--
 2 files changed, 16 insertions(+), 4 deletions(-)

This task depends upon

Loading...