Tools: Test: Fix mistake with multi-channel gain result print

This fixes a messy looking print line in the test output.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2020-04-23 19:54:47 +03:00 committed by Liam Girdwood
parent 509a906426
commit 6f8a15bcfd
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ level_in = test.a_db;
level_out = level_dbfs(y); level_out = level_dbfs(y);
test.g_db = level_out - level_in + test.att_rec_db; test.g_db = level_out - level_in + test.att_rec_db;
for i = 1:length(test.g_db) for i = 1:length(test.g_db)
fprintf('Gain = %6.3f dB (expect %6.3f dB)\n', test.g_db(i), test.g_db_expect); fprintf('Gain = %6.3f dB (expect %6.3f dB)\n', test.g_db(i), test.g_db_expect(i));
end end
%% Check pass/fail %% Check pass/fail