add constants for logging purposes
This commit is contained in:
2
main.c
2
main.c
@@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
#define TEMP_PATH "/sys/class/thermal/thermal_zone0/temp"
|
#define TEMP_PATH "/sys/class/thermal/thermal_zone0/temp"
|
||||||
#define FAN_PIN 17
|
#define FAN_PIN 17
|
||||||
|
#define LOG 1
|
||||||
|
#define LOG_FILE "/var/log/fan_control.log"
|
||||||
|
|
||||||
#define HIGH 1
|
#define HIGH 1
|
||||||
#define LOW 0
|
#define LOW 0
|
||||||
|
|||||||
Reference in New Issue
Block a user