my modification for kl25z

Dependencies:   FATFileSystem

Fork of SDFileSystem by Neil Thiessen

Files at this revision

API Documentation at this revision

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
--- 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) {