commit hash fixed
This commit is contained in:
parent
018bd1057d
commit
6dff81fb75
64 changed files with 180 additions and 94 deletions
|
@ -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 $@
|
||||
|
|
|
@ -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"
|
||||
|
|
4
control/src/drv/commit_hash.h
Normal file
4
control/src/drv/commit_hash.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef COMMIT_HASH_H
|
||||
#define COMMIT_HASH_H
|
||||
const char COMMIT_HASH[] = "018bd1057deef81d8a44a808b7c68fb29abc3be6";
|
||||
#endif // COMMIT_HASH_H
|
Loading…
Add table
Add a link
Reference in a new issue