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

ArduinoOTA optimizations #2445

Merged
merged 1 commit into from
Aug 27, 2016
Merged

ArduinoOTA optimizations #2445

merged 1 commit into from
Aug 27, 2016

Conversation

me-no-dev
Copy link
Collaborator

  • Added option to control if the ESP should be rebooted on success
  • Added delay before ESP.restart() is called
  • Added some comments to the header

- Added option to control if the ESP should be rebooted on success
- Added delay before ESP.restart() is called
- Added some comments to the header
@igrr
Copy link
Member

igrr commented Aug 27, 2016

Looks good to me

@me-no-dev
Copy link
Collaborator Author

I have the feeling that not delaying before the reboot is the root cause of many OTA errors received.

@igrr
Copy link
Member

igrr commented Aug 27, 2016

True. Just noticed i had delay(100); added before ESP.restart in my local tree :)

@codecov-io
Copy link

codecov-io commented Aug 27, 2016

Current coverage is 27.80% (diff: 100%)

Merging #2445 into master will not change coverage

@@             master      #2445   diff @@
==========================================
  Files            20         20          
  Lines          3625       3625          
  Methods         335        335          
  Messages          0          0          
  Branches        656        656          
==========================================
  Hits           1008       1008          
  Misses         2441       2441          
  Partials        176        176          

Powered by Codecov. Last update b412660...7a321dc

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.

3 participants