Skip to content
New issue

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

Patch SD library to allow re-initialization after power down #1118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fakufaku
Copy link
Contributor

This is a patch of the SD library to allow the SD card to be re-initialized after having been powered off.

This patch fixes issue 1103.

The problem was that the root directory is still marked as open and thus its initialization fails. The fix changes SD.init to first check if the root dir is open, and if so, closes it.

@ffissore ffissore added the New label Feb 27, 2014
@cmaglie cmaglie added feature request A request to make an enhancement (not a bug fix) Library: SD The SD Arduino library labels Apr 8, 2015
@facchinm
Copy link
Member

@sandeepmistry since you recently updated SD library, do you think this might still be interesting?

@sandeepmistry
Copy link
Contributor

@facchinm yes!

@fakufaku it would be great to have a sketch that can reproduce the issue.

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A request to make an enhancement (not a bug fix) Library: SD The SD Arduino library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants