summaryrefslogtreecommitdiff
path: root/source/use_case/kws/src/MainLoop.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/use_case/kws/src/MainLoop.cc')
-rw-r--r--source/use_case/kws/src/MainLoop.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/use_case/kws/src/MainLoop.cc b/source/use_case/kws/src/MainLoop.cc
index 80254d0..c683e71 100644
--- a/source/use_case/kws/src/MainLoop.cc
+++ b/source/use_case/kws/src/MainLoop.cc
@@ -95,6 +95,7 @@ void main_loop(hal_platform& platform)
break;
case MENU_OPT_RUN_INF_CHOSEN: {
printf(" Enter the audio clip index [0, %d]: ", NUMBER_OF_FILES-1);
+ fflush(stdout);
auto clipIndex = static_cast<uint32_t>(arm::app::ReadUserInputAsInt(platform));
executionSuccessful = ClassifyAudioHandler(caseContext, clipIndex, false);
break;