From ae36bd0547b25d6af04e29fcb3f3450f2e3ddf5b Mon Sep 17 00:00:00 2001 From: Bianka Forkel <noreply@fortiss.org> Date: Tue, 18 Jul 2017 18:59:03 +0000 Subject: [PATCH] LRF: removed terminating zero refs 7956 --- org.fortiss.af3.platform.raspberry/trunk/lib/src/libuart.c | 1 - 1 file changed, 1 deletion(-) diff --git a/org.fortiss.af3.platform.raspberry/trunk/lib/src/libuart.c b/org.fortiss.af3.platform.raspberry/trunk/lib/src/libuart.c index 28f6b549..ca027e83 100644 --- a/org.fortiss.af3.platform.raspberry/trunk/lib/src/libuart.c +++ b/org.fortiss.af3.platform.raspberry/trunk/lib/src/libuart.c @@ -96,7 +96,6 @@ int uart_receive(char *c, int bufLen, int printt) { if (printt) printf("[%s] No data to receive \n", port); } else { - c[n_read] = '\0'; if (printt) { printf("[%s] %i Bytes received: 0x", port, n_read); int i; -- GitLab