Skip to content

Commit 962abdc

Browse files
committed
Debugging
1 parent 1983307 commit 962abdc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Video_Audio_Player/Video_Audio_Player.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@ static void createFileSelectionMenu(subMenu *menu, const char *filter_ext = NULL
115115
do {
116116
bool skip=false;
117117
if (filter_ext) {
118-
if (!entry.endsWith(filter_ext))
118+
if (!entry.endsWith(filter_ext)) {
119+
Serial.println("Skipping file.");
119120
skip=true;
121+
}
120122
}
121123
if (!skip) {
122124
entry.getName(fileNames[i]);
@@ -128,6 +130,8 @@ static void createFileSelectionMenu(subMenu *menu, const char *filter_ext = NULL
128130
break;
129131
i++;
130132
} while (true);
133+
} else {
134+
Serial.println("Nothing in SmallFS...");
131135
}
132136
}
133137

0 commit comments

Comments
 (0)