 
 // Number of seconds after reset during which a 
 // subseqent reset will be considered a double reset.
-#define DRD_TIMEOUT 10
+//#define DRD_TIMEOUT 10
 
 // RTC Memory Address for the DoubleResetDetector to use
-#define DRD_ADDRESS 0
-
-DoubleResetDetector* drd;
+//#define DRD_ADDRESS 0
+
+//DoubleResetDetector* drd;
 
 //callback notifying us of the need to save config
 void saveConfigCallback () {

#include <BlynkSimpleEsp8266.h>

//#include <DoubleResetDetector.h>   //<<-- got bug, auto wipe of wifi manager settings happened
#define ESP_DRD_USE_LITTLEFS    true    //false
#define DOUBLERESETDETECTOR_DEBUG       true  //false
#include <ESP_DoubleResetDetector.h>

// configuration constants
const bool bme280Debug = 0; // controls serial printing

      //Connect to blynk using an already-open internet connection and preset configuration
      if(!Blynk.connect()) {
        Serial.println("Blynk connection timed out.");
//        drd->loop(); //don't trigger double press reset
        ESP.reset();
        delay (100);
      }
