From 91718cc77626800884988d55feee110e37318ecf Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Mon, 5 Jun 2017 10:43:13 +0800 Subject: [PATCH] unit-test-app: Fix incorrect CR+LF sequence. This caused problems with handling output by grep, sed, etc --- tools/unit-test-app/components/unity/unity_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/unit-test-app/components/unity/unity_platform.c b/tools/unit-test-app/components/unity/unity_platform.c index 229d80b5b..c5749f13f 100644 --- a/tools/unit-test-app/components/unity/unity_platform.c +++ b/tools/unit-test-app/components/unity/unity_platform.c @@ -23,8 +23,8 @@ void unity_putc(int c) { if (c == '\n') { - uart_tx_one_char('\n'); uart_tx_one_char('\r'); + uart_tx_one_char('\n'); } else if (c == '\r') {