diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-11-04 21:20:09 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-11-04 21:20:09 +0300 |
commit | 34e0cd7395143c5ff455f173a6659e522f90a150 (patch) | |
tree | 9e785e7d6c6d4619c9dfa69324573f9b024d8431 /src/Storage/MassStorage.cpp | |
parent | 635d0c8f68bf0e59b6f28084618ea3ee26edf704 (diff) |
Fixed issues with incorrect reporting of pausing/resuming states
Also made is quicker to establish whether pausing or resuming
Diffstat (limited to 'src/Storage/MassStorage.cpp')
-rw-r--r-- | src/Storage/MassStorage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Storage/MassStorage.cpp b/src/Storage/MassStorage.cpp index d9d40d84..9d5a067c 100644 --- a/src/Storage/MassStorage.cpp +++ b/src/Storage/MassStorage.cpp @@ -932,7 +932,7 @@ void MassStorage::Diagnostics(MessageType mtype) noexcept # if HAS_HIGH_SPEED_SD // Show the HSMCI CD pin and speed platform.MessageF(mtype, "SD card 0 %s, interface speed: %.1fMBytes/sec\n", - (MassStorage::IsCardDetected(0) ? "detected" : "not detected"), (double)((float)sd_mmc_get_interface_speed(0) * 0.000001)); + (IsCardDetected(0) ? "detected" : "not detected"), (double)((float)sd_mmc_get_interface_speed(0) * 0.000001)); # else platform.MessageF(mtype, "SD card 0 %s\n", (MassStorage::IsCardDetected(0) ? "detected" : "not detected")); # endif |