aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/ATSAMA5D2/UART/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/ATSAMA5D2/UART/main.c')
-rw-r--r--testhal/ATSAMA5D2/UART/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/ATSAMA5D2/UART/main.c b/testhal/ATSAMA5D2/UART/main.c
index 2150eb3a1..12bf9b55d 100644
--- a/testhal/ATSAMA5D2/UART/main.c
+++ b/testhal/ATSAMA5D2/UART/main.c
@@ -157,7 +157,7 @@ int main(void) {
uartStopReceive(&FUARTD0);
uartStopSend(&FUARTD0);
uartStartReceive(&FUARTD0, BUFFER, buffer);
- uartStartSend(&FUARTD0, 6, message);
+ uartStartSend(&FUARTD0, BUFFER+1, message);
}
chThdSleepMilliseconds(500);