SD FileSystem to comunicate with a KL25Z
Fork of SDFileSystem by
Diff: SDFileSystem.cpp
- Revision:
- 27:43b9930c79d9
- Parent:
- 25:923df4ee70c4
--- a/SDFileSystem.cpp Mon Aug 29 15:05:27 2016 +0000 +++ b/SDFileSystem.cpp Thu Aug 10 18:06:24 2017 +0000 @@ -41,11 +41,11 @@ //Configure the card detect pin if (cdtype == SWITCH_POS_NO) { - m_Cd.mode(PullDown); + // m_Cd.mode(PullDown); m_CdAssert = 1; m_Cd.fall(this, &SDFileSystem::onCardRemoval); } else if (cdtype == SWITCH_POS_NC) { - m_Cd.mode(PullDown); + // m_Cd.mode(PullDown); m_CdAssert = 0; m_Cd.rise(this, &SDFileSystem::onCardRemoval); } else if (cdtype == SWITCH_NEG_NO) {