 #endif
         }
 #endif
-        
+
         // Publishing only at relevant temperature change
         if (fabs(tempDiff) > TEMP_VALUE_MARGIN)
         {

    {
        timeStamp = millis();
        float tempDiff = tempValue - tempValueOld;
        
#ifdef BLYNK_VPIN_VALUE_TEMP
        // Pushing temperature value to the cloud for gauge
        Blynk.virtualWrite(BLYNK_VPIN_VALUE_TEMP, tempValue);
        Blynk.setProperty(BLYNK_VPIN_VALUE_TEMP, "label", String(TEMP_STATUS_NAME[tempStatus]));
        Blynk.setProperty(BLYNK_VPIN_VALUE_TEMP, "color", String(TEMP_STATUS_COLOR[tempStatus]));
#endif            

#ifdef BLYNK_VPIN_VALUE_TEMP_DIFF
        // Pushing temperature change to the cloud

//-------------------------------------------------------------------------
// Boot setup
//-------------------------------------------------------------------------
// STARTUP(WiFi.selectAntenna(ANT_EXTERNAL));
STARTUP(WiFi.selectAntenna(ANT_INTERNAL));
STARTUP(System.enableFeature(FEATURE_RETAINED_MEMORY));
SYSTEM_THREAD(ENABLED);
// SYSTEM_THREAD(DISABLED);
