dancol90 / ESP8266Ping

Ping library for ESP8266 Arduino core
GNU Lesser General Public License v2.1
265 stars 136 forks source link

Ping Library fails in main branch, works in 3.0.2 and 2.7.4 #8555 #41

Closed dduehren closed 1 year ago

dduehren commented 2 years ago

Library depends on the internal behaviour of esp_yeild(), which previously just suspended our USER task without doing anything else https://github.com/dancol90/ESP8266Ping/blob/934e701dcee743fe1ec564d0c2d64bd99e8d7bf3/src/ESP8266Ping.impl.h#L51 However, since 3.1.0 it will also call esp_schedule(), so the logic it implements that waits on it's own esp_schedule() no longer works