 
 // 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 () {

  //  saveCounter(eventCounter);         // this also puts bme0 to sleep
  bme0.updateF4Control16xSleep(); // use instead of saveCounter if counter is not required

  // You can also call drd.stop() when you wish to no longer
  drd->loop();
  
  goToSleep();
} // end of void setup()

#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
