From eb6addeba5b57deea58e8eacbe21d4b42be8da5d Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Sun, 13 Nov 2022 00:20:10 +0100 Subject: [PATCH] tests/pkg_emlearn: fix compilation It turns out that the fix for the missing terminating newline is not robust. This hopefully fixes the issue and resolves the following error message: In file included from /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/main.c:25: /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/model.h:7221:36: error: stray '\' in program 7221 | /* fix for no newline at eof */\n | ^ /home/maribu/Repos/software/RIOT/tests/pkg_emlearn/model.h:7221:38: error: expected ';' before '_Alignas' 7221 | /* fix for no newline at eof */\n | ^ | ; --- tests/pkg_emlearn/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pkg_emlearn/Makefile b/tests/pkg_emlearn/Makefile index d1052615d4..153c2f4391 100644 --- a/tests/pkg_emlearn/Makefile +++ b/tests/pkg_emlearn/Makefile @@ -10,4 +10,4 @@ include $(RIOTBASE)/Makefile.include model.h: $(CURDIR)/model $(Q)$(CURDIR)/generate_model.py - $(Q)echo "/* fix for no newline at eof */\n" >> model.h + $(Q)echo "/* fix for no newline at eof */" >> model.h