Skip to content

Conversation

@egemenertugrul
Copy link
Contributor

@egemenertugrul egemenertugrul commented Jan 18, 2018

Added two boolean results in _writeBuffer() function, thus utilized UPDATE_ERROR_ERASE. This helps to notice whether ESP.flashEraseSector or ESP.flashWrite was unsuccessful when an error occurs. Previously, it would only show UPDATE_ERROR_WRITE.

With the request of @devyte , added _setError function to wrap some lines up and tidied the code.

egemenertugrul and others added 3 commits January 18, 2018 11:31
_setError function wraps a few lines to eliminate repetitiveness when debugging for errors.
_setError function wraps a few lines to eliminate repetitiveness when debugging for errors.
@devyte devyte merged commit d5c43f0 into esp8266:master Jan 18, 2018
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