diff --git a/firmware/config.h b/firmware/config.h old mode 100644 new mode 100755 index 783d9d2..2274575 --- a/firmware/config.h +++ b/firmware/config.h @@ -1,4 +1,7 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + #define SENSOR_TEMPERATURE 0 #define SENSOR_HUMIDITY 1 #define SENSOR_LIGHT 2 @@ -30,3 +33,6 @@ #define BME280_ADDRESS 0x76 #define INITIAL_WEBSERVER_TIME 20 + +#endif + diff --git a/firmware/sensors.ino b/firmware/sensors.ino old mode 100644 new mode 100755 index 03c45da..dc5479f --- a/firmware/sensors.ino +++ b/firmware/sensors.ino @@ -57,4 +57,4 @@ float getBatteryVoltage() { float volt = raw / 1023.0; return volt * 4.2; } -#endif +#endif