Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: frdm-kl25_sd_fs_wav
Revision 27:333457903770, committed 2020-11-16
- Comitter:
- ezebrizzio
- Date:
- Mon Nov 16 22:29:39 2020 +0000
- Parent:
- 25:923df4ee70c4
- Commit message:
- PullDown mode was removed on kl25
Changed in this revision
SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 923df4ee70c4 -r 333457903770 SDFileSystem.cpp --- a/SDFileSystem.cpp Thu May 26 15:32:31 2016 +0000 +++ b/SDFileSystem.cpp Mon Nov 16 22:29:39 2020 +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) {