We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7311c16 commit faae138Copy full SHA for faae138
Firmware/OpenLog_Artemis/zmodem.ino
@@ -311,7 +311,6 @@ void sdCardMenu(int numberOfSeconds)
311
312
if (Filesleft > 0)
313
{
314
- //while (sd.vwd()->readDir(dir) == sizeof(*dir)) {
315
while (fout.openNext(&root, O_RDONLY))
316
317
// read next directory entry in current working directory
@@ -320,7 +319,7 @@ void sdCardMenu(int numberOfSeconds)
320
319
size_t fsize = 30;
321
fout.getName(fname, fsize);
322
fout.close();
323
- if ((str_cmp_P(fname, PSTR("OLA_settings.txt"))) && (str_cmp_P(fname, PSTR("OLA_deviceSettings.txt"))))
+ if ((strcmp_P(fname, PSTR("OLA_settings.txt"))) && (strcmp_P(fname, PSTR("OLA_deviceSettings.txt"))))
324
sd.remove(fname);
325
}
326
else
0 commit comments