Skip to content

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