mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
standardizes processing of _delaying in lwIP callbacks (remove assert) (#6460)
This commit is contained in:
parent
ec4edf0b63
commit
45dbc65dba
@ -609,9 +609,10 @@ protected:
|
|||||||
(void) err;
|
(void) err;
|
||||||
(void) pcb;
|
(void) pcb;
|
||||||
assert(pcb == _pcb);
|
assert(pcb == _pcb);
|
||||||
assert(_delaying);
|
if (_delaying) {
|
||||||
_delaying = false;
|
_delaying = false;
|
||||||
esp_schedule(); // break current delay()
|
esp_schedule(); // break current delay()
|
||||||
|
}
|
||||||
return ERR_OK;
|
return ERR_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user