     }
 }
 
-void doMonitorIfTime() {
+static void doMonitorIfTime(void) {
     static unsigned long lastReadingMillis = 0;
     unsigned long now = millis();
 

    Spark.variable("currentHumid", &currentHumid, DOUBLE);
}

void loop() {
    checkStateChange();

    if (isReporting) {

    }
}

static void doReportIfTime(void) {
    static bool firstTime = true;
    static unsigned long lastReportMillis = 0;
    unsigned long now = millis();
    char publishString[64];

    if (firstTime || ((now - lastReportMillis) >= EEPROM_Data.settings.sensorReportMillis)) {
        SERIAL.println("Reporting sensor data to server");
        
        snprintf(publishString, sizeof(publishString), "{\"tempF\": %.1f, \"humid\": %.1f}", currentTempF, currentHumid);
