Skip to content

Commit 412e6af

Browse files
committed
Change fileSize to fileSizeStr in printFileList (only)
1 parent 0271c3d commit 412e6af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Firmware/RTK_Everywhere/menuSystem.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1552,9 +1552,9 @@ void printFileList()
15521552
);
15531553

15541554
char fileSizeChar[20];
1555-
String fileSize;
1556-
stringHumanReadableSize(fileSize, tempFile.fileSize());
1557-
fileSize.toCharArray(fileSizeChar, sizeof(fileSizeChar));
1555+
String fileSizeStr;
1556+
stringHumanReadableSize(fileSizeStr, tempFile.fileSize());
1557+
fileSizeStr.toCharArray(fileSizeChar, sizeof(fileSizeChar));
15581558

15591559
char fileName[50]; // Handle long file names
15601560
tempFile.getName(fileName, sizeof(fileName));

0 commit comments

Comments
 (0)