mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
standardizes processing of _delaying in lwIP callbacks (remove assert) (#6460)
This commit is contained in:
@ -609,9 +609,10 @@ protected:
|
||||
(void) err;
|
||||
(void) pcb;
|
||||
assert(pcb == _pcb);
|
||||
assert(_delaying);
|
||||
_delaying = false;
|
||||
esp_schedule(); // break current delay()
|
||||
if (_delaying) {
|
||||
_delaying = false;
|
||||
esp_schedule(); // break current delay()
|
||||
}
|
||||
return ERR_OK;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user