We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a65deaf commit 167a2a9Copy full SHA for 167a2a9
1 file changed
examples/spiffs_rest_api/spiffs_rest_api.ino
@@ -20,7 +20,7 @@
20
// https://github.com/esp8266/arduino-esp8266fs-plugin
21
22
#include <DNSServer.h>
23
-#include <FS.h>
+#include <LittleFS.h>
24
25
#define DEVICE_NAME "ESP8266 DEVICE"
26
@@ -51,8 +51,8 @@ void setup() {
51
DEBUG_PRINT(persWM.getApSsid());
52
});
53
54
- //allows serving of files from SPIFFS
55
- SPIFFS.begin();
+ //allows serving of files from LittleFS
+ LittleFS.begin();
56
//sets network name for AP mode
57
persWM.setApCredentials(DEVICE_NAME);
58
//persWM.setApCredentials(DEVICE_NAME, "password"); optional password
0 commit comments