d-a-v / W5500lwIP

W5100, W5500 and ENC28J60 for esp8266 and lwIP (or any other uC using lwIP)
43 stars 11 forks source link

Make handlePacket() run from esp_yield() #7

Closed emelianov closed 5 years ago

emelianov commented 5 years ago

Mark handlePacket() function callback as SCHEDULED_FUNCTION_WITHOUT_YIELDELAYCALLS to run it from esp_yield/yield. It looks safe as definitely no yield or delay calls inside handlePacket() and dipper. This commit is required to seamless library integration to Arduino core.