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.
Dependencies: FATFileSystem
Fork of SDFileSystem by
Revision 17:6f25adda7fde, committed 2015-06-29
- Comitter:
- ftagius
- Date:
- Mon Jun 29 17:41:24 2015 +0000
- Parent:
- 16:c2c1f0b16380
- Commit message:
- sample configuration file support;
Changed in this revision
| SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r c2c1f0b16380 -r 6f25adda7fde SDFileSystem.cpp
--- a/SDFileSystem.cpp Mon Jan 05 18:43:29 2015 +0000
+++ b/SDFileSystem.cpp Mon Jun 29 17:41:24 2015 +0000
@@ -37,11 +37,11 @@
//Configure the card detect pin
if (cdtype == SWITCH_POS_NO) {
- m_Cd.mode(PullDown);
+ m_Cd.mode(PullNone);
m_CdAssert = 1;
m_Cd.fall(this, &SDFileSystem::onCardRemoval);
} else if (cdtype == SWITCH_POS_NC) {
- m_Cd.mode(PullDown);
+ m_Cd.mode(PullNone);
m_CdAssert = 0;
m_Cd.rise(this, &SDFileSystem::onCardRemoval);
} else if (cdtype == SWITCH_NEG_NO) {
