commit | d5679cc8db0a6ab43369eb91089ea5fe015f552f | [log] [tgz] |
---|---|---|
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | Thu Mar 03 16:30:07 2022 +0000 |
committer | Isabella Gottardi <isabella.gottardi@arm.com> | Fri Mar 04 11:09:15 2022 +0000 |
tree | 4477b3f1e5b5a70066d958d98e61ba6e5a183bb5 | |
parent | b4123fd715e41070be5bb39600625c740185f562 [diff] [blame] |
MLECO-2984: Refactor components * Use UART component from Ethos-U core-platform * Components as cmake project Change-Id: I053f3a59800abc20216e6a4df8555db357e3f21d Signed-off-by: Isabella Gottardi <isabella.gottardi@arm.com>
diff --git a/source/hal/profiles/bare-metal/data_acquisition/data_acq.c b/source/hal/profiles/bare-metal/data_acquisition/data_acq.c index b7eba2d..84d80a6 100644 --- a/source/hal/profiles/bare-metal/data_acquisition/data_acq.c +++ b/source/hal/profiles/bare-metal/data_acquisition/data_acq.c
@@ -32,7 +32,7 @@ **/ static int get_uart_user_input(char* user_input, int size) { - if (true != GetLine(user_input, size - 1)) { + if (1 != GetLine(user_input, size - 1)) { return 1; } return 0;