1
0
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:
david gauchard 2019-08-28 15:24:57 +02:00 committed by GitHub
parent ec4edf0b63
commit 45dbc65dba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
} }