소스 검색

Fix for custom boards

main
Bill Greiman 10 년 전
부모
커밋
cb56364787
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. +4
    -1
      SdFat/SdSpi.h

+ 4
- 1
SdFat/SdSpi.h 파일 보기

#define SdSpi_h #define SdSpi_h
#include <Arduino.h> #include <Arduino.h>
#include "SdFatConfig.h" #include "SdFatConfig.h"
#include "utility/SoftSPI.h"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
/** /**
* \class SdSpiBase * \class SdSpiBase
}; };
#endif // SD_SPI_CONFIGURATION >= 3 || SD_SPI_CONFIGURATION == 1 #endif // SD_SPI_CONFIGURATION >= 3 || SD_SPI_CONFIGURATION == 1
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
#if SD_SPI_CONFIGURATION > 1 || defined(DOXYGEN)
#include "utility/SoftSPI.h"
/** /**
* \class SdSpiSoft * \class SdSpiSoft
* \brief Software SPI class for access to SD and SDHC flash memory cards. * \brief Software SPI class for access to SD and SDHC flash memory cards.
private: private:
SoftSPI<MisoPin, MosiPin, SckPin, 0> m_spi; SoftSPI<MisoPin, MosiPin, SckPin, 0> m_spi;
}; };
#endif // SD_SPI_CONFIGURATION > 1 || defined(DOXYGEN)
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
#if SD_SPI_CONFIGURATION == 0 || SD_SPI_CONFIGURATION >= 3 #if SD_SPI_CONFIGURATION == 0 || SD_SPI_CONFIGURATION >= 3
/** Default is custom fast SPI. */ /** Default is custom fast SPI. */

Loading…
취소
저장