From 574aef00a19591d9dd226e99c670090b47c56e4c Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Sun, 24 Feb 2008 21:48:30 +0000 Subject: [PATCH] Removed debug output from jlink.c git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1092 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/src/tap/cable/jlink.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/jtag/src/tap/cable/jlink.c b/jtag/src/tap/cable/jlink.c index 3c685de6..e50bb8e5 100644 --- a/jtag/src/tap/cable/jlink.c +++ b/jtag/src/tap/cable/jlink.c @@ -48,9 +48,9 @@ #include #include -#define INFO printf -#define ERROR printf -#define DEBUG printf +#define INFO(...) printf(__VA_ARGS__) +#define ERROR(...) printf(__VA_ARGS__) +#define DEBUG(...) #define JLINK_WRITE_ENDPOINT 0x02 #define JLINK_READ_ENDPOINT 0x81 @@ -244,7 +244,7 @@ static int jlink_tap_execute( cable_t *cable ) else { ERROR( - "jlink_tap_execute, wrong result %d, expected %d", + "jlink_tap_execute, wrong result %d, expected %d\n", result, byte_length); @@ -394,7 +394,6 @@ jlink_init( cable_t *cable ) jlink_reset( cable, 0, 0); jlink_tap_init(); - PARAM_TRST(cable) = 1; return 0;