Skip to content

Don't create a new filesystem if we restart in safe mode.#319

Merged
dhalbert merged 1 commit into
adafruit:2.xfrom
dhalbert:2.x_issue_280_brownout
Oct 12, 2017
Merged

Don't create a new filesystem if we restart in safe mode.#319
dhalbert merged 1 commit into
adafruit:2.xfrom
dhalbert:2.x_issue_280_brownout

Conversation

@dhalbert
Copy link
Copy Markdown
Collaborator

I haven't been able to reproduce the brownout bug (#280) by running down a battery. But this code should fix the problem. I was able to randomly break the filesystem by varying the voltage on a bench supply. I tried the same thing with this patch, and didn't get an error. But that's not a sure indication of a fix. Nevertheless, this code add more safety to safe mode.

@dhalbert dhalbert requested a review from tannewt October 12, 2017 18:03
Copy link
Copy Markdown
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I approve of a safer safe mode. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants