From 6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656 Mon Sep 17 00:00:00 2001 From: Yauheni Kaliuta Date: Tue, 13 Oct 2009 20:00:46 +0300 Subject: Cleanup: nuke trailling whitespaces Signed-off-by: Yauheni Kaliuta --- contrib/libdcc/dcc_stdio.c | 4 ++-- contrib/libdcc/example.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'contrib') diff --git a/contrib/libdcc/dcc_stdio.c b/contrib/libdcc/dcc_stdio.c index a25e7dd1..08a49abf 100644 --- a/contrib/libdcc/dcc_stdio.c +++ b/contrib/libdcc/dcc_stdio.c @@ -99,7 +99,7 @@ void dbg_write_u16(const unsigned short *val, long len) while (len > 0) { - dcc_data = val[0] + dcc_data = val[0] | ((len > 1) ? val[1] << 16: 0x0000); dbg_write(dcc_data); @@ -145,7 +145,7 @@ void dbg_write_str(const char *msg) | ((len > 2) ? msg[2] << 16 : 0x00) | ((len > 3) ? msg[3] << 24 : 0x00); dbg_write(dcc_data); - + msg += 4; len -= 4; } diff --git a/contrib/libdcc/example.c b/contrib/libdcc/example.c index d456f395..0814c9ce 100644 --- a/contrib/libdcc/example.c +++ b/contrib/libdcc/example.c @@ -23,11 +23,11 @@ #include "dcc_stdio.h" /* enable openocd debugmsg at the gdb prompt: - * monitor target_request debugmsgs enable - * + * monitor target_request debugmsgs enable + * * create a trace point: * monitor trace point 1 - * + * * to show how often the trace point was hit: * monitor trace point */ -- cgit v1.2.3