summaryrefslogtreecommitdiffstats
path: root/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino
diff options
context:
space:
mode:
Diffstat (limited to 'examples/FTPServerSample/LittleFSSample/LittleFSSample.ino')
-rw-r--r--examples/FTPServerSample/LittleFSSample/LittleFSSample.ino5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino b/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino
index 4a02754..dcb9d6d 100644
--- a/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino
+++ b/examples/FTPServerSample/LittleFSSample/LittleFSSample.ino
@@ -36,7 +36,7 @@ void setup(void)
WiFi.begin(ssid, password);
bool fsok = LittleFS.begin();
- Serial.printf_P(PSTR("FS init: %S\n"), fsok ? PSTR("ok") : PSTR("fail!"));
+ Serial.printf_P(PSTR("FS init: %s\n"), fsok ? PSTR("ok") : PSTR("fail!"));
// Wait for connection
while (WiFi.status() != WL_CONNECTED)
@@ -44,7 +44,7 @@ void setup(void)
delay(500);
Serial.printf_P(PSTR("."));
}
- Serial.printf_P(PSTR("\nConnected to %S, IP address is %s\n"), ssid, WiFi.localIP().toString().c_str());
+ Serial.printf_P(PSTR("\nConnected to %s, IP address is %s\n"), ssid, WiFi.localIP().toString().c_str());
// setup the ftp server with username and password
// ports are defined in FTPCommon.h, default is
@@ -61,6 +61,7 @@ enum consoleaction
list
};
consoleaction action = show;
+uint16_t listDir(String indent, String path);
void loop(void)
{