mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 00:41:17 +01:00
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
| ^
| ;
This commit is contained in:
parent
4e00c0e360
commit
eb6addeba5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user