Skip to content
This repository has been archived by the owner on Feb 9, 2022. It is now read-only.

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
### Major Releases v1.1.0

1. Add support to LittleFS for ESP32 using [LITTLEFS](https://github.com/lorol/LITTLEFS) Library
2. Clean-up all compiler warnings possible.
3. Add Table of Contents
4. Add Version String
  • Loading branch information
khoih-prog authored Dec 30, 2020
1 parent 21c9379 commit ccd0594
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions src/BlynkSimpleEsp32_WFM.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,6 @@

#include <WebServer.h>

//////////////////
#if 1

// LittleFS has higher priority than SPIFFS.
// But if not specified any, use SPIFFS to not forcing user to install LITTLEFS library
#if ! (defined(USE_LITTLEFS) || defined(USE_SPIFFS) )
Expand Down Expand Up @@ -89,19 +86,6 @@
#warning Using EEPROM in BlynkSimpleESP32_WFM.h
#endif

#else
//default to use EEPROM, otherwise, use SPIFFS
#if USE_SPIFFS
#include <FS.h>
#include "SPIFFS.h"
#else
#include <EEPROM.h>
#endif
#endif
//////////////////

///////// NEW for DRD /////////////
// These defines must be put before #include <ESP_DoubleResetDetector.h>
// to select where to store DoubleResetDetector's variable.
Expand All @@ -110,9 +94,6 @@
// Otherwise, library will use default EEPROM storage
#define ESP8266_DRD_USE_RTC false //true

/////////////////////
#if 1

#if USE_LITTLEFS
#define ESP_DRD_USE_LITTLEFS true
#define ESP_DRD_USE_SPIFFS false
Expand All @@ -127,19 +108,6 @@
#define ESP_DRD_USE_EEPROM true
#endif

#else
#if USE_SPIFFS
#define ESP_DRD_USE_EEPROM false
#define ESP_DRD_USE_SPIFFS true
#else
#define ESP_DRD_USE_EEPROM true
#define ESP_DRD_USE_SPIFFS false
#endif
#endif
//////////////////

#ifndef DOUBLERESETDETECTOR_DEBUG
#define DOUBLERESETDETECTOR_DEBUG false
#endif
Expand Down

0 comments on commit ccd0594

Please sign in to comment.