diff --git a/include/globals.h b/include/globals.h index 1fed95dd..5a66530d 100644 --- a/include/globals.h +++ b/include/globals.h @@ -207,7 +207,9 @@ extern JsonDocument settings; extern String fileToCopy; -extern bool onlyBins; +extern bool onlyBins; + +extern bool noDotFiles; extern int rotation; diff --git a/src/main.cpp b/src/main.cpp index a9d68660..50744cc5 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -94,8 +94,9 @@ int prog_handler; // 0 - Flash, 1 - SPIFFS int currentIndex; int rotation = ROTATION; bool sdcardMounted; -bool onlyBins; -bool returnToMenu; +bool onlyBins; +bool noDotFiles; +bool returnToMenu; bool update; bool askSpiffs; diff --git a/src/sd_functions.cpp b/src/sd_functions.cpp index a6744bd1..e9325c2b 100644 --- a/src/sd_functions.cpp +++ b/src/sd_functions.cpp @@ -291,15 +291,17 @@ void readFs(String &folder, std::vector