commit hash fixed

This commit is contained in:
devfix 2019-07-04 11:31:30 +02:00
parent 018bd1057d
commit 6dff81fb75
64 changed files with 180 additions and 94 deletions

View file

@ -94,7 +94,7 @@ clean:
commit_hash:
@echo "Updating commit hash..."
@bash -c 'echo -e "#ifndef COMMIT_HASH_H\n#define COMMIT_HASH_H\nconst char COMMIT_HASH[] = \"`git log --pretty=format:'%H' -n 1`\";\n#endif // COMMIT_HASH_H" > commit_hash.h'
@bash -c 'echo -e "#ifndef COMMIT_HASH_H\n#define COMMIT_HASH_H\nconst char COMMIT_HASH[] = \"`git log --pretty=format:'%H' -n 1`\";\n#endif // COMMIT_HASH_H" > drv/commit_hash.h'
.cpp.o:
$(PATH_COMPILER) $(CFLAGS) -c $< -o $@

View file

@ -15,7 +15,7 @@
#include <sys/ioctl.h>
#include <termios.h>
#include "../commit_hash.h"
#include "commit_hash.h"
#include "requests.h"
#include "usart.h"
#include "driverexception.h"

View file

@ -0,0 +1,4 @@
#ifndef COMMIT_HASH_H
#define COMMIT_HASH_H
const char COMMIT_HASH[] = "018bd1057deef81d8a44a808b7c68fb29abc3be6";
#endif // COMMIT_HASH_H