|
@@ -85,10 +85,6 @@ uint8_t const SD_CARD_TYPE_SD1 = 1, // Standard capacity V1
|
85
|
85
|
#elif USE_SOFTWARE_SPI
|
86
|
86
|
#define SOFTWARE_SPI
|
87
|
87
|
#endif // MEGA_SOFT_SPI
|
88
|
|
-//------------------------------------------------------------------------------
|
89
|
|
-// SPI pin definitions - do not edit here - change in SdFatConfig.h
|
90
|
|
-//
|
91
|
|
-#define SD_CHIP_SELECT_PIN SS_PIN
|
92
|
88
|
|
93
|
89
|
/**
|
94
|
90
|
* \class Sd2Card
|
|
@@ -123,7 +119,7 @@ public:
|
123
|
119
|
*
|
124
|
120
|
* \return true for success or false for failure.
|
125
|
121
|
*/
|
126
|
|
- bool init(const uint8_t sckRateID=SPI_FULL_SPEED, const pin_t chipSelectPin=SD_CHIP_SELECT_PIN);
|
|
122
|
+ bool init(const uint8_t sckRateID, const pin_t chipSelectPin);
|
127
|
123
|
|
128
|
124
|
bool readBlock(uint32_t block, uint8_t* dst);
|
129
|
125
|
|