add: .idea to gitignore

fix: remove .h outside of include/
This commit is contained in:
Tobias Reisinger 2020-01-08 06:44:32 +01:00
parent db7a377250
commit f03b3f7fb7
5 changed files with 2 additions and 27 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
.idea/
build/
cmake-build-debug/

View file

@ -1,10 +0,0 @@
#ifndef CONTROLLER_CONFIG_H
#define CONTROLLER_CONFIG_H
#define CONTROLLER_FILE_NAME "emgauwa-controller.dat"
#define CONTROLLER_FILE_VERSION 1
#define CONTROLLER_FILE_HEADER_SIZE 4
#define CONTROLLER_NAME_LENGTH 128
#endif //CONTROLLER_CONFIG_H

View file

@ -1,4 +0,0 @@
#include <stdint.h>
void
display_setup(void);

View file

@ -1,6 +0,0 @@
#ifndef CONTROLLER_MACROS_H
#define CONTROLLER_MACROS_H
#define LOG_ERROR(msg) printf("ERROR: \"%s\" in function %s in file %s:%d\n", msg, __func__, __FILE__, __LINE__)
#endif //CONTROLLER_MACROS_H

View file

@ -1,7 +0,0 @@
#ifdef WIRING_PI_DEBUG
#define wiringPiSetup() printf("Setting up wiringPi....\n")
#define pinMode(x,y) printf("pinMode(%d, %d)\n",x,y)
#define digitalWrite(x,y) printf("digitalWrite(%d, %d)\n",x,y)
#endif