Correct spelling mistake

This commit is contained in:
Florian committed 2020-05-23 16:07:37 -05:00
1 parent f6fa1e52da
commit 0afcb61717
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -45,7 +45,7 @@ void setupADC()
void MeasureADC() void MeasureADC()
{ {
if (millis() > (timeadc + TimeBetweenReadingADC)) if (millis() > (timeadc + TimeBetweenReadingADC))
{ //retriving value of temperature and humidity of the box from DHT every xUL { //retrieving value of temperature and humidity of the box from DHT every xUL
#if defined(ESP8266) #if defined(ESP8266)
yield(); yield();
#endif #endif
+1 -1
View File
@@ -56,7 +56,7 @@ void setupZsensorBH1750()
void MeasureLightIntensity() void MeasureLightIntensity()
{ {
if (millis() > (timebh1750 + TimeBetweenReadingBH1750)) if (millis() > (timebh1750 + TimeBetweenReadingBH1750))
{ //retriving value of Lux, FtCd and Wattsm2 from BH1750 { //retrieving value of Lux, FtCd and Wattsm2 from BH1750
Log.trace(F("Creating BH1750 buffer" CR)); Log.trace(F("Creating BH1750 buffer" CR));
StaticJsonBuffer<JSON_MSG_BUFFER> jsonBuffer; StaticJsonBuffer<JSON_MSG_BUFFER> jsonBuffer;
JsonObject &BH1750data = jsonBuffer.createObject(); JsonObject &BH1750data = jsonBuffer.createObject();
+1 -1
View File
@@ -46,7 +46,7 @@ void setupDHT()
void MeasureTempAndHum() void MeasureTempAndHum()
{ {
if (millis() > (timedht + TimeBetweenReadingDHT)) if (millis() > (timedht + TimeBetweenReadingDHT))
{ //retriving value of temperature and humidity of the box from DHT every xUL { //retrieving value of temperature and humidity of the box from DHT every xUL
timedht = millis(); timedht = millis();
static float persistedh; static float persistedh;
static float persistedt; static float persistedt;
+1 -1
View File
@@ -53,7 +53,7 @@ void setupINA226()
void MeasureINA226() void MeasureINA226()
{ {
if (millis() > (timeINA226 + TimeBetweenReadingINA226)) if (millis() > (timeINA226 + TimeBetweenReadingINA226))
{ //retriving value of temperature and humidity of the box from DHT every xUL { //retrieving value of temperature and humidity of the box from DHT every xUL
timeINA226 = millis(); timeINA226 = millis();
Log.trace(F("Creating INA226 buffer" CR)); Log.trace(F("Creating INA226 buffer" CR));
StaticJsonBuffer<JSON_MSG_BUFFER> jsonBuffer; StaticJsonBuffer<JSON_MSG_BUFFER> jsonBuffer;
+1 -1
View File
@@ -1278,7 +1278,7 @@ void stateMeasures()
unsigned long uptime = millis() / 1000; unsigned long uptime = millis() / 1000;
SYSdata["uptime"] = uptime; SYSdata["uptime"] = uptime;
SYSdata["version"] = OMG_VERSION; SYSdata["version"] = OMG_VERSION;
Log.trace(F("retriving value of system characteristics Uptime (s):%u" CR),uptime); Log.trace(F("retrieving value of system characteristics Uptime (s):%u" CR), uptime);
#if defined(ESP8266) || defined(ESP32) #if defined(ESP8266) || defined(ESP32)
uint32_t freeMem; uint32_t freeMem;
freeMem = ESP.getFreeHeap(); freeMem = ESP.getFreeHeap();