diff options
author | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2021-05-24 16:12:40 +0100 |
---|---|---|
committer | Kshitij Sisodia <kshitij.sisodia@arm.com> | 2021-05-24 16:41:51 +0000 |
commit | 3c8256df7de49a4fb64cdbcdea46ff471ff5f846 (patch) | |
tree | d080d1542d2ea85d4a7ae00f41d275878eda3706 /source/use_case/img_class/src | |
parent | 55b818002cfdbf55ea3a9f2b509cde34f6a06302 (diff) | |
download | ml-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/img_class/src')
-rw-r--r-- | source/use_case/img_class/src/MainLoop.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/use_case/img_class/src/MainLoop.cc b/source/use_case/img_class/src/MainLoop.cc index 66d7064..255f8e0 100644 --- a/source/use_case/img_class/src/MainLoop.cc +++ b/source/use_case/img_class/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 image\n", MENU_OPT_RUN_INF_NEXT); printf(" %u. Classify image at chosen index\n", MENU_OPT_RUN_INF_CHOSEN); |