diff options
Diffstat (limited to '')
-rw-r--r-- | examples/FTPServerSample/LittleFSSample/LittleFSSample.ino | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino b/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino index d30120b..4a02754 100644 --- a/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino +++ b/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino @@ -22,6 +22,7 @@ #include <ESP8266WiFi.h> #include <LittleFS.h> #include <FTPServer.h> +#define BAUDRATE 74880 const char *ssid PROGMEM = "YOUR_SSID"; const char *password PROGMEM = "YOUR_PASS"; @@ -31,7 +32,7 @@ FTPServer ftpSrv(LittleFS); void setup(void) { - Serial.begin(74880); + Serial.begin(BAUDRATE); WiFi.begin(ssid, password); bool fsok = LittleFS.begin(); |