Skip to content

Commit 7c9860c

Browse files
SENSOR_ERROR is a #define.
1 parent 2dc88f2 commit 7c9860c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ESP8266-temp-server.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
#define ONE_WIRE_BUS D1
1515
#define ONBOARD_LED D4
1616
#define SAVED_LOGFILES 30
17+
#define SENSOR_ERROR -273.15
1718

1819
#define TZ 1 // (utc+) TZ in hours
1920
#define DST_MN 60 // use 60mn for summer time in some countries
2021
#define TZ_MN ((TZ)*60)
2122
#define TZ_SEC ((TZ)*3600)
2223
#define DST_SEC ((DST_MN)*60)
2324

24-
const float SENSOR_ERROR = -273.15;
2525

2626
float currentTemp = SENSOR_ERROR;
2727
bool dstStatus = true;

0 commit comments

Comments
 (0)