summaryrefslogtreecommitdiff
path: root/source/use_case/ad/src
diff options
context:
space:
mode:
authorKshitij Sisodia <kshitij.sisodia@arm.com>2021-05-24 16:12:40 +0100
committerKshitij Sisodia <kshitij.sisodia@arm.com>2021-05-24 16:41:51 +0000
commit3c8256df7de49a4fb64cdbcdea46ff471ff5f846 (patch)
treed080d1542d2ea85d4a7ae00f41d275878eda3706 /source/use_case/ad/src
parent55b818002cfdbf55ea3a9f2b509cde34f6a06302 (diff)
downloadml-embedded-evaluation-kit-3c8256df7de49a4fb64cdbcdea46ff471ff5f846.tar.gz
MLECO-1948: Fix for SysTick init and GNU's stdout
The counter val could have been 0 when read the first time quickly after the init function. The init function will now wait for the SysTick counter to start before returning. Also included are some minor changes to get around GNU's file stream implementation being line buffered. Change-Id: I8d51fef5d85f1261a6a5710608349d7ecc19ad62
Diffstat (limited to 'source/use_case/ad/src')
-rw-r--r--source/use_case/ad/src/MainLoop.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/use_case/ad/src/MainLoop.cc b/source/use_case/ad/src/MainLoop.cc
index 6a7cbe0..6431509 100644
--- a/source/use_case/ad/src/MainLoop.cc
+++ b/source/use_case/ad/src/MainLoop.cc
@@ -31,7 +31,8 @@ enum opcodes
static void DisplayMenu()
{
- printf("\n\nUser input required\n");
+ printf("\n");
+ printf("User input required\n");
printf("Enter option number from:\n\n");
printf(" %u. Classify next audio signal\n", MENU_OPT_RUN_INF_NEXT);
printf(" %u. Classify audio signal at chosen index\n", MENU_OPT_RUN_INF_CHOSEN);