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

Commit ccd0594

Browse files
authored
v1.1.0
### 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
1 parent 21c9379 commit ccd0594

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/BlynkSimpleEsp32_WFM.h

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@
5858

5959
#include <WebServer.h>
6060

61-
//////////////////
62-
#if 1
63-
6461
// LittleFS has higher priority than SPIFFS.
6562
// But if not specified any, use SPIFFS to not forcing user to install LITTLEFS library
6663
#if ! (defined(USE_LITTLEFS) || defined(USE_SPIFFS) )
@@ -89,19 +86,6 @@
8986
#warning Using EEPROM in BlynkSimpleESP32_WFM.h
9087
#endif
9188

92-
#else
93-
94-
//default to use EEPROM, otherwise, use SPIFFS
95-
#if USE_SPIFFS
96-
#include <FS.h>
97-
#include "SPIFFS.h"
98-
#else
99-
#include <EEPROM.h>
100-
#endif
101-
102-
#endif
103-
//////////////////
104-
10589
///////// NEW for DRD /////////////
10690
// These defines must be put before #include <ESP_DoubleResetDetector.h>
10791
// to select where to store DoubleResetDetector's variable.
@@ -110,9 +94,6 @@
11094
// Otherwise, library will use default EEPROM storage
11195
#define ESP8266_DRD_USE_RTC false //true
11296

113-
/////////////////////
114-
#if 1
115-
11697
#if USE_LITTLEFS
11798
#define ESP_DRD_USE_LITTLEFS true
11899
#define ESP_DRD_USE_SPIFFS false
@@ -127,19 +108,6 @@
127108
#define ESP_DRD_USE_EEPROM true
128109
#endif
129110

130-
#else
131-
132-
#if USE_SPIFFS
133-
#define ESP_DRD_USE_EEPROM false
134-
#define ESP_DRD_USE_SPIFFS true
135-
#else
136-
#define ESP_DRD_USE_EEPROM true
137-
#define ESP_DRD_USE_SPIFFS false
138-
#endif
139-
140-
#endif
141-
//////////////////
142-
143111
#ifndef DOUBLERESETDETECTOR_DEBUG
144112
#define DOUBLERESETDETECTOR_DEBUG false
145113
#endif

0 commit comments

Comments
 (0)