my modification for kl25z
Fork of SDFileSystem by
Revision 27:9e655fe8121c, committed 2016-10-19
- Comitter:
- pedro_C
- Date:
- Wed Oct 19 10:25:50 2016 +0000
- Parent:
- 26:e4d2567200db
- Commit message:
- my test
Changed in this revision
SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e4d2567200db -r 9e655fe8121c SDFileSystem.cpp --- a/SDFileSystem.cpp Mon Aug 29 15:05:27 2016 +0000 +++ b/SDFileSystem.cpp Wed Oct 19 10:25:50 2016 +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) {