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

Fix-bricked-restore #826

Merged
merged 2 commits into from
Aug 22, 2016
Merged

Conversation

dbuentello
Copy link
Contributor

During refactor, exportables.enableWrite was defined but never called. Also make sure to wait for memory to be erased before writing.

fixes #824

@@ -220,7 +220,11 @@ exportables.flash = function(tessel, buffers) {
buffers.partition = exportables.partition(mac1, mac2);

return Promise.resolve().then(() => {
log.info('Bulk Erasing Flash Memory...');
log.info('Setting WRITE_ENABLED');
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't necessary

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Maybe if there had been a log statement it wouldn't have been missed when refactoring ;)

Kidding aside, thanks for the merge. Looking forward to contributing.

@rwaldron rwaldron merged commit e4757c0 into tessel:master Aug 22, 2016
rwaldron added a commit that referenced this pull request Aug 22, 2016
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
@dbuentello dbuentello deleted the fix/bricked-restore-824 branch September 22, 2016 14:54
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.

t2 restore bricks tessel
2 participants