Skip to content

Commit

Permalink
a little mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
wangqinghua committed Jun 20, 2021
1 parent d851718 commit fcc5255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remote_payloads_sd_cli/remote_payloads_sd_cli.ino
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void deviation(struct tm * tmstruct, int* year, int* month, int* day, int* hour,

void printDirectory(File dir, String dirPath, int numTabs, String* result, bool html) {
while (true) {
if ((html) && (dirPath.indexOf(hiddenDir))) {
if ((html) && (dirPath.indexOf(hiddenDir) > 0)) {
break;
}
File entry = dir.openNextFile();
Expand Down

0 comments on commit fcc5255

Please sign in to comment.