summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libdcc/dcc_stdio.c4
-rw-r--r--contrib/libdcc/example.c6
2 files changed, 5 insertions, 5 deletions
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
*/