From 5ae38488972be8ea2063500c50c2d63426cdf5f4 Mon Sep 17 00:00:00 2001 From: gemi254 Date: Thu, 16 Mar 2023 09:51:14 +0200 Subject: [PATCH] Fixed headers seperator --- src/sensors.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/sensors.h b/src/sensors.h index 7b9032d..7403de5 100644 --- a/src/sensors.h +++ b/src/sensors.h @@ -38,8 +38,7 @@ bool initSensors(){ } // READ Salt -uint32_t readSalt() -{ +uint32_t readSalt(){ uint8_t samples = 120; uint32_t humi = 0; uint16_t array[120]; @@ -69,8 +68,7 @@ uint8_t readSoil(){ return soilM; } -float readSoilTemp() -{ +float readSoilTemp(){ float temp; //READ Soil Temperature #ifdef USE_18B20_TEMP_SENSOR @@ -89,7 +87,6 @@ lux < 10 ==> MTreg = 138 */ float readLightValue(){ float lux = lightMeter.readLightLevel(); - #ifdef LUX_AUTOAJUST if (lux < 0){ //-1 : no valid return value -2 : sensor not configured LOG_ERR("Failed to read BH1750!\n"); @@ -201,7 +198,7 @@ void logSensors(){ line += "soil" + sep; line += "salt" + sep; #ifdef DEBUG_BATTERY - line += "batAdc"; + line += "batAdc" + sep; #endif line += "batPerc"; line +="\n";