Skip to content

Commit 251b88c

Browse files
committed
Use size() for MMC
1 parent 2913163 commit 251b88c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/FileSdFatMMC.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ class FileSdFatMMC : public SdFile
184184
return _sdFile->fileSize();
185185
#ifdef COMPILE_SD_MMC
186186
else
187-
return _file->fileSize();
187+
return _file->size();
188188
#endif
189189
};
190190

0 commit comments

Comments
 (0)