Skip to content

Commit 03b49f0

Browse files
committed
Updated printing FatDate and FatTime tot he HW Serial pointer
1 parent e5a92b2 commit 03b49f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utility/SdFile.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -293,9 +293,9 @@ void SdFile::ls(uint8_t flags, uint8_t indent, HardwareSerial *port)
293293
// print modify date/time if requested
294294
if (flags & LS_DATE)
295295
{
296-
printFatDate(p->lastWriteDate);
296+
printFatDate(p->lastWriteDate, port);
297297
port->print(' ');
298-
printFatTime(p->lastWriteTime);
298+
printFatTime(p->lastWriteTime, port);
299299
}
300300
// print size if requested
301301
if (!DIR_IS_SUBDIR(p) && (flags & LS_SIZE))

0 commit comments

Comments
 (0)