From 708d85c0850be6295aa317aeb06650b41efa7140 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 29 Feb 2016 10:16:05 +0100 Subject: [PATCH] trace.h: Don't print file/function name in TRACE_DEBUG() --- firmware/include_sam3s/trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/include_sam3s/trace.h b/firmware/include_sam3s/trace.h index 5ae2f0ec..8d96aab3 100644 --- a/firmware/include_sam3s/trace.h +++ b/firmware/include_sam3s/trace.h @@ -176,7 +176,7 @@ extern void TRACE_CONFIGURE( uint32_t dwBaudRate, uint32_t dwMCk ) ; /* Trace compilation depends on TRACE_LEVEL value */ #if (TRACE_LEVEL >= TRACE_LEVEL_DEBUG) -#define TRACE_DEBUG(...) { printf("-D- " __VA_ARGS__); printf("(%s func. %s)\n\r", __FILE__, __FUNCTION__); } +#define TRACE_DEBUG(...) { printf("-D- " __VA_ARGS__); } #define TRACE_DEBUG_WP(...) { printf(__VA_ARGS__); } #else #define TRACE_DEBUG(...) { }