Skip to content

Commit bff3ad4

Browse files
authored
Remove call to listFile(filename) from deleteFile(filename) (#54)
1 parent 48bec7f commit bff3ad4

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/NBFileUtils.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,9 +297,6 @@ bool NBFileUtils::deleteFile(const String filename)
297297
{
298298
String response;
299299

300-
if (listFile(filename) == 0)
301-
return false;
302-
303300
MODEM.sendf("AT+UDELFILE=\"%s\"", filename.c_str());
304301
auto status = MODEM.waitForResponse(100, &response);
305302

0 commit comments

Comments
 (0)