sdio: SDIOClass should not depend on SdFat library

This commit is contained in:
Daniel Fekete 2017-06-13 05:33:11 +02:00
parent 4bc4b7fe72
commit 00cc621483
2 changed files with 2 additions and 3 deletions

View File

@ -153,7 +153,7 @@ uint8_t SDIOClass::begin() {
*/
_useDMA = true;
m_errorCode = SD_CARD_ERROR_NONE;
m_errorCode = 0; //SD_CARD_ERROR_NONE;
return true;
}
/* TODO: This part needs more work, should set the card to idle state

View File

@ -2,7 +2,6 @@
#define _SDIO_H_INCLUDED
#include "stdint.h"
#include "BlockDriver.h"
#include "stm32_def.h"
#define sdRdTimeout 200
#define sdWrTimeout 5000
@ -141,7 +140,7 @@ class SDIOClass {
};
static uint32_t m_errorLine = 0;
static uint8_t m_errorCode = SD_CARD_ERROR_INIT_NOT_CALLED;
static uint8_t m_errorCode = 0x64; //TODO cleanup, SdFat errors do not belong to SDIO driver (SD_CARD_ERROR_INIT_NOT_CALLED);
static void (*_sdio_this);
#endif