Having \n in echo will not produce a newline but rather echo will literaly print out \n in the line.
This is off course not really liked by gcc-avr and it wont compile.
In file included from miniboot.c:6:0:
bootloader.h:2:13: error: extra tokens at end of #pragma directive [-Werror]
pragma once\n
^
cc1plus: all warnings being treated as errors
While we are at it get rid of few left whitespaces.
Having \n in echo will not produce a newline but rather echo will literaly print out \n in the line. This is off course not really liked by gcc-avr and it wont compile. In file included from miniboot.c:6:0: bootloader.h:2:13: error: extra tokens at end of #pragma directive [-Werror]
pragma once\n
cc1plus: all warnings being treated as errors
While we are at it get rid of few left whitespaces.
Signed-off-by: Robert Marko robimarko@gmail.com