Skip to content

Commit 2539fb8

Browse files
committed
FsSD: remove uneeded ternary for debug print
1 parent 76b76fa commit 2539fb8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/FileSystem/fnFsSD.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,7 @@ bool FileSystemSDFAT::dir_open(const char * path, const char * pattern, uint16_t
196196
);
197197
bool filter_dirs = have_pattern && pattern[strlen(pattern)-1] == '/';
198198
if (filter_dirs) {
199-
Debug_printf (
200-
"FileSystemSDFAT::dir_open I am filtering directories.\n",
201-
have_pattern ? "" : " do not"
202-
);
199+
Debug_printf ("FileSystemSDFAT::dir_open I am filtering directories.\n");
203200
strlcpy (realpat, pattern, sizeof (realpat));
204201
realpat[strlen(realpat)-1] = '\0';
205202
}

0 commit comments

Comments
 (0)