Skip to content

Commit

Permalink
Static bugfix in filesChanged variable
Browse files Browse the repository at this point in the history
temporary fix
  • Loading branch information
ewowi committed Oct 30, 2023
1 parent 602369d commit 05d88a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Sys/SysModFiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

// #include <FS.h>

bool SysModFiles::filesChanged = false;

SysModFiles::SysModFiles() :Module("Files") {
USER_PRINT_FUNCTION("%s %s\n", __PRETTY_FUNCTION__, name);

Expand Down
2 changes: 1 addition & 1 deletion src/Sys/SysModFiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class SysModFiles:public Module {
bool readFile(const char * path);

private:
bool filesChanged = false;
static bool filesChanged;// = false;

};

Expand Down

0 comments on commit 05d88a2

Please sign in to comment.