From 57ce31f31d8b93a6ac132eb62ce8bed9183b7135 Mon Sep 17 00:00:00 2001 From: Daniel Plasa Date: Tue, 26 May 2020 05:02:01 +0200 Subject: fix typo --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b1a0641..cd8d17a 100644 --- a/README.md +++ b/README.md @@ -22,19 +22,19 @@ Select the desired FS via the contructor #include #include -espFTPServer ftpServer(LittleFS); // construct with LittleFS +FtpServer ftpSrv(LittleFS); // construct with LittleFS // or -espFTPServer ftpServer(SPIFFS); // construct with SPIFFS if you need to for backward compatibility +FtpServer ftpSrv(SPIFFS); // construct with SPIFFS if you need to for backward compatibility ``` ### Configure username/password ```cpp -ftpServer.begin("username", "password"); +ftpSrv.begin("username", "password"); ``` ### Handle by calling frequently ```cpp -ftpServer.handleFtp(); // place this in e.g. loop() +ftpSrv.handleFTP(); // place this in e.g. loop() ``` -- cgit v1.2.3