Skip to content

Commit 9476941

Browse files
committed
Create storage volume class and sd card volume implementation
1 parent b9d5581 commit 9476941

File tree

10 files changed

+961
-848
lines changed

10 files changed

+961
-848
lines changed

src/GCodes/GCodes2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1456,7 +1456,7 @@ bool GCodes::HandleMcode(GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeEx
14561456
int32_t format = 0;
14571457
gb.TryGetIValue('S', format, dummy);
14581458
MassStorage::SdCardReturnedInfo returnedInfo;
1459-
const MassStorage::InfoResult res = MassStorage::GetCardInfo(slot, returnedInfo);
1459+
const MassStorage::InfoResult res = MassStorage::GetVolumeInfo(slot, returnedInfo);
14601460
if (format == 2)
14611461
{
14621462
reply.printf("{\"SDinfo\":{\"slot\":%" PRIu32 ",\"present\":", slot);

0 commit comments

Comments
 (0)