Paul's baseline branch
Fork of SDFileSystem by
Revision 15:c9e938f6934f, committed 2014-10-27
- Comitter:
- neilt6
- Date:
- Mon Oct 27 17:02:05 2014 +0000
- Parent:
- 14:02835aff8504
- Child:
- 16:c2c1f0b16380
- Commit message:
- Added code to enable the internal pull-up resistor on MISO
Changed in this revision
SDFileSystem.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SDFileSystem.cpp Thu Aug 28 16:02:09 2014 +0000 +++ b/SDFileSystem.cpp Mon Oct 27 17:02:05 2014 +0000 @@ -15,6 +15,7 @@ */ #include "SDFileSystem.h" +#include "pinmap.h" #include "diskio.h" #include "CRC7.h" #include "CRC16.h" @@ -28,6 +29,9 @@ m_WriteValidation = true; m_Status = STA_NOINIT; + //Enable the internal pull-up resistor on MISO + pin_mode(miso, PullUp); + //Configure the SPI bus m_Spi.format(8, 0);