summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/LittleFSSample/LittleFSSample.ino7
-rw-r--r--examples/SPIFFSSample/SPIFFSSample.ino4
2 files changed, 5 insertions, 6 deletions
diff --git a/examples/LittleFSSample/LittleFSSample.ino b/examples/LittleFSSample/LittleFSSample.ino
index b6bfdd6..b5dc797 100644
--- a/examples/LittleFSSample/LittleFSSample.ino
+++ b/examples/LittleFSSample/LittleFSSample.ino
@@ -16,17 +16,16 @@
*/
#ifdef ESP8266
-#include <LittleFS.h>
#include <ESP8266WiFi.h>
#elif defined ESP32
#include <WiFi.h>
-#include <SPIFFS.h>
#endif
+#include <LittleFS.h>
#include <espFtpServer.h>
-const char *ssid PROGMEM = "";
-const char *password PROGMEM = "";
+const char *ssid PROGMEM = "YOUR_SSID";
+const char *password PROGMEM = "YOUR_PASS";
// tell the FtpServer to use LittleFS
FtpServer ftpSrv(LittleFS);
diff --git a/examples/SPIFFSSample/SPIFFSSample.ino b/examples/SPIFFSSample/SPIFFSSample.ino
index 6438afe..dce703c 100644
--- a/examples/SPIFFSSample/SPIFFSSample.ino
+++ b/examples/SPIFFSSample/SPIFFSSample.ino
@@ -25,8 +25,8 @@
#include <espFtpServer.h>
-const char *ssid PROGMEM = "";
-const char *password PROGMEM = "";
+const char *ssid PROGMEM = "YOUR_SSID";
+const char *password PROGMEM = "YOUR_PASS";
// Since SPIFFS is becoming deprecated but might still be in
// use in your Projects, tell the FtpServer to use SPIFFS