1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +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:
Marian Buschsieweke 2022-11-13 00:20:10 +01:00
parent 4e00c0e360
commit eb6addeba5
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -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