From 9b8d67a5389db4afeeb22c9c705252ba7f6f5915 Mon Sep 17 00:00:00 2001 From: Richard Burton Date: Fri, 10 Dec 2021 12:32:51 +0000 Subject: MLECO-2684: Standardize LCD behaviour * LCD display behavior for Run All now matches Run Next * Remove repeated code Signed-off-by: Richard Burton Change-Id: I16706187fd4e7a59dd935783f5bfb8731435f381 --- source/application/main/UseCaseCommonUtils.cc | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'source/application/main/UseCaseCommonUtils.cc') diff --git a/source/application/main/UseCaseCommonUtils.cc b/source/application/main/UseCaseCommonUtils.cc index e48e308..0b4e779 100644 --- a/source/application/main/UseCaseCommonUtils.cc +++ b/source/application/main/UseCaseCommonUtils.cc @@ -118,17 +118,9 @@ bool image::PresentInferenceResult(hal_platform &platform, dataPsnTxtStartX2, rowIdx2, 0); rowIdx2 += dataPsnTxtYIncr; - if(profilingEnabled) - { - info("%" PRIu32 ") %" PRIu32 " (%f) -> %s\n", i, results[i].m_labelIdx, - results[i].m_normalisedVal, results[i].m_label.c_str()); - } - else - { - info("%" PRIu32 ") %" PRIu32 " (%f) -> %s\n", i, - results[i].m_labelIdx, results[i].m_normalisedVal, - results[i].m_label.c_str()); - } + info("%" PRIu32 ") %" PRIu32 " (%f) -> %s\n", i, + results[i].m_labelIdx, results[i].m_normalisedVal, + results[i].m_label.c_str()); } return true; -- cgit v1.2.1