From 91afe67ae52b42fc8ee40abef614551c26371810 Mon Sep 17 00:00:00 2001 From: Seppo Ingalsuo Date: Thu, 21 Apr 2022 16:55:48 +0300 Subject: [PATCH] Tools: Tune: SRC: Add line break between structs in generated code This patch helps to pass the code style check in generated header file src___table.h. The error was: CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Seppo Ingalsuo --- tools/tune/src/src_export_table_2s.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/tune/src/src_export_table_2s.m b/tools/tune/src/src_export_table_2s.m index 20311283b..ebf38a25a 100644 --- a/tools/tune/src/src_export_table_2s.m +++ b/tools/tune/src/src_export_table_2s.m @@ -175,10 +175,9 @@ for n = 1:2 fprintf(fh, '\n'); end end - fprintf(fh, '};\n'); + fprintf(fh, '};\n\n'); end -fprintf(fh, '\n', def); fprintf(fh, '#endif /* %s */\n', def); fclose(fh);