Skip to content

Commit faae138

Browse files
committed
Fix that typo!
1 parent 7311c16 commit faae138

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Firmware/OpenLog_Artemis/zmodem.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,6 @@ void sdCardMenu(int numberOfSeconds)
311311

312312
if (Filesleft > 0)
313313
{
314-
//while (sd.vwd()->readDir(dir) == sizeof(*dir)) {
315314
while (fout.openNext(&root, O_RDONLY))
316315
{
317316
// read next directory entry in current working directory
@@ -320,7 +319,7 @@ void sdCardMenu(int numberOfSeconds)
320319
size_t fsize = 30;
321320
fout.getName(fname, fsize);
322321
fout.close();
323-
if ((str_cmp_P(fname, PSTR("OLA_settings.txt"))) && (str_cmp_P(fname, PSTR("OLA_deviceSettings.txt"))))
322+
if ((strcmp_P(fname, PSTR("OLA_settings.txt"))) && (strcmp_P(fname, PSTR("OLA_deviceSettings.txt"))))
324323
sd.remove(fname);
325324
}
326325
else

0 commit comments

Comments
 (0)