From 3c8256df7de49a4fb64cdbcdea46ff471ff5f846 Mon Sep 17 00:00:00 2001 From: Kshitij Sisodia Date: Mon, 24 May 2021 16:12:40 +0100 Subject: 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 --- source/use_case/kws/src/MainLoop.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/use_case/kws/src') diff --git a/source/use_case/kws/src/MainLoop.cc b/source/use_case/kws/src/MainLoop.cc index f971c30..48cdad4 100644 --- a/source/use_case/kws/src/MainLoop.cc +++ b/source/use_case/kws/src/MainLoop.cc @@ -35,7 +35,8 @@ enum opcodes static void DisplayMenu() { - printf("\n\nUser input required\n"); + printf("\n\n"); + printf("User input required\n"); printf("Enter option number from:\n\n"); printf(" %u. Classify next audio clip\n", MENU_OPT_RUN_INF_NEXT); printf(" %u. Classify audio clip at chosen index\n", MENU_OPT_RUN_INF_CHOSEN); -- cgit v1.2.1