diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-06-13 20:08:47 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-06-13 20:08:47 +0300 |
commit | 35923f84e6b3d387c1608fa591fa6aa3e218175f (patch) | |
tree | 6fde0108c2e3622d77e9fc9829eba13b15241803 /src/Storage/MassStorage.cpp | |
parent | 9bdf603aa31c6576e3faf759f844a94f04835bfc (diff) |
More changes for 5LC
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 fe394972..6b1892a7 100644 --- a/src/Storage/MassStorage.cpp +++ b/src/Storage/MassStorage.cpp @@ -756,7 +756,7 @@ void MassStorage::Spin() noexcept SdCardInfo& inf = info[card]; if (inf.cdPin != NoPin) { - if (digitalRead(inf.cdPin)) + if (IoPort::ReadPin(inf.cdPin)) { // Pin state says no card present switch (inf.cardState) |