Skip to content

Commit

Permalink
Fixed headers seperator
Browse files Browse the repository at this point in the history
  • Loading branch information
gemi254 committed Mar 16, 2023
1 parent 63c0069 commit 5ae3848
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/sensors.h
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down Expand Up @@ -69,8 +68,7 @@ uint8_t readSoil(){
return soilM;
}

float readSoilTemp()
{
float readSoilTemp(){
float temp;
//READ Soil Temperature
#ifdef USE_18B20_TEMP_SENSOR
Expand All @@ -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");
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit 5ae3848

Please sign in to comment.