This is an automated email from Gerrit. Andrey Skvortsov ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2220
-- gerrit commit 54d850f875772a3b476b594f3aea0b801094e558 Author: Andrey Skvortsov <[email protected]> Date: Wed Jul 16 16:40:34 2014 +0400 jtag: drivers: stlink: remove unnecessary '\n' in LOG_* entries Change-Id: Ia2dc3efc27b53334af4d85f9807abba0463c291b Signed-off-by: Andrey Skvortsov <[email protected]> diff --git a/src/jtag/drivers/stlink_usb.c b/src/jtag/drivers/stlink_usb.c index c606b5e..bed2fe3 100644 --- a/src/jtag/drivers/stlink_usb.c +++ b/src/jtag/drivers/stlink_usb.c @@ -1055,7 +1055,7 @@ static void stlink_usb_trace_disable(void *handle) assert(h->version.jtag >= STLINK_TRACE_MIN_VERSION); - LOG_DEBUG("Tracing: disable\n"); + LOG_DEBUG("Tracing: disable"); stlink_usb_init_buffer(handle, h->rx_ep, 2); h->cmdbuf[h->cmdidx++] = STLINK_DEBUG_COMMAND; @@ -1082,7 +1082,7 @@ static int stlink_usb_trace_enable(void *handle) res = stlink_configure_target_trace_port(handle); if (res != ERROR_OK) - LOG_ERROR("Unable to configure tracing on target\n"); + LOG_ERROR("Unable to configure tracing on target"); trace_hz = h->trace.prescale > 0 ? h->trace.source_hz / (h->trace.prescale + 1) : @@ -1101,7 +1101,7 @@ static int stlink_usb_trace_enable(void *handle) if (res == ERROR_OK) { h->trace.enabled = true; - LOG_DEBUG("Tracing: recording at %" PRIu32 "Hz\n", trace_hz); + LOG_DEBUG("Tracing: recording at %" PRIu32 "Hz", trace_hz); /* We need the trace read function to be called at a * high-enough frequency to ensure reasonable * "timeliness" in processing ITM/DWT data. @@ -1133,9 +1133,9 @@ static int stlink_usb_run(void *handle) /* Try to start tracing, if requested */ if (res == ERROR_OK && h->trace.source_hz && !h->trace.enabled) { if (stlink_usb_trace_enable(handle) == ERROR_OK) - LOG_DEBUG("Tracing: enabled\n"); + LOG_DEBUG("Tracing: enabled"); else - LOG_ERROR("Tracing: enable failed\n"); + LOG_ERROR("Tracing: enable failed"); } return res; -- ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
