From 5bee4f540e4d80b5fb693db67304ec1402ac2b48 Mon Sep 17 00:00:00 2001 From: erikkaashoek Date: Thu, 7 May 2020 20:29:58 +0200 Subject: [PATCH] prevent selftest freeze --- sa_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sa_core.c b/sa_core.c index 8263be7..32b45ed 100644 --- a/sa_core.c +++ b/sa_core.c @@ -1703,14 +1703,14 @@ int validate_flatness(int i) { if (actual_t[j] < peakLevel - 6) // Search right -3dB break; } - shell_printf("\n\rRight width %d\n\r", j - peakIndex ); + //shell_printf("\n\rRight width %d\n\r", j - peakIndex ); if (j - peakIndex < test_case[i].width) return(TS_FAIL); for (j = peakIndex; j > 0; j--) { if (actual_t[j] < peakLevel - 6) // Search left -3dB break; } - shell_printf("Left width %d\n\r", j - peakIndex ); + //shell_printf("Left width %d\n\r", j - peakIndex ); if (peakIndex - j < test_case[i].width) return(TS_FAIL); test_fail_cause[i] = "";