We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
arduino
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In some of my Projects I need to change the SD card. There is a simple allow this. I just require a single line in the SD.c library.
boolean SDClass::begin(uint8_t csPin) { /* Performs the initialisation required by the sdfatlib library. Return true if initialization succeeds, false otherwise. */ // ----> Line Added if (root.isOpen()) root.close(); // allows repeated calls // <--- Line Added return card.init(SPI_HALF_SPEED, csPin) && volume.init(card) && root.openRoot(volume); }
After changing the SD card all you need is to reinitialize the sd card.
Will properly solve ISSUE #1103
The text was updated successfully, but these errors were encountered:
this fixed an issue i was having thanks!
Sorry, something went wrong.
solve sd card don't reinitialize
baddfd4
ref: arduino/Arduino#3607
This fix worked for me also. Is there any possible problem that could result from this patch?
This issue was moved to arduino-libraries/SD#5
cmaglie
No branches or pull requests
In some of my Projects I need to change the SD card. There is a simple allow this. I just require a single line in the SD.c library.
After changing the SD card all you need is to reinitialize the sd card.
Will properly solve ISSUE #1103
The text was updated successfully, but these errors were encountered: