Your braces are not correct. Something is mismatched
I think there is something wrong here. The if conditional is sitting outside of any function, and the comment about END of TaskUniversal is not correct as there is a different closing brace in the correct place at line 449.
} //END of: T a s k D H T 2 2 ( )
//************************* Handle the Irrigation needs **********************************
//If we are not already watering is the sensor is dry? //1.04
if (Irrigation.EnableFlag == false && soil_moisture <= Soil_moisture_on )
{
//The moisture sensor has detected the low trigger turn on value
digitalWrite(irrigation_pump, LOW); //Turn the irrigation pump on
Irrigation.EnableFlag = true; //enable the irrigation timer
Irrigation.StartTime = millis(); //initialize the start time when this pump was turned on
}
} //END of: T a s k U n i v e r s a l ( )