We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e48030 commit ffad4baCopy full SHA for ffad4ba
libraries/SD/utility/Sd2Card.cpp
@@ -211,6 +211,10 @@ uint8_t Sd2Card::eraseSingleBlockEnable(void) {
211
* can be determined by calling errorCode() and errorData().
212
*/
213
uint8_t Sd2Card::init(uint8_t sckRateID, uint8_t chipSelectPin) {
214
+ // <HOTFIX>
215
+ chipSelectPin = 4;
216
+ // </HOTFIX>
217
+
218
errorCode_ = inBlock_ = partialBlockRead_ = type_ = 0;
219
chipSelectPin_ = chipSelectPin;
220
// 16-bit init start time allows over a minute
0 commit comments