Skip to content

ArduinoOTA endless loop #1533

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

Merged
merged 2 commits into from
Jun 27, 2018
Merged

ArduinoOTA endless loop #1533

merged 2 commits into from
Jun 27, 2018

Conversation

lbernstone
Copy link
Contributor

udp.read returns a negative number on errors. Since value was defined as a char, it has no way to trap this, so it continues to add FF to the value in an endless loop.

@lbernstone lbernstone changed the title Pr lb 1 ArduinoOTA endless loop Jun 25, 2018
@me-no-dev me-no-dev merged commit cde668d into espressif:master Jun 27, 2018
@me-no-dev
Copy link
Member

thanks :)

@lbernstone lbernstone deleted the pr-lb_1 branch July 31, 2018 00:54
Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
* Changed pinmap to show pins34-39 as GPI

* ArduinoOTA could have endless loop b/c udp.read can return negative result
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