host build: optimistic_yield() wrongly delays() instead of avoiding excessive yields (#6802)
host build: optimistic_yield() wrongly delays() instead of avoiding excessive yields (#6802)

* optimistic_yield is a yield, not a delay, and avoids yielding if last yield has occurred recently enough.

* Suppress an unused argument warning.

Co-authored-by: Earle F. Philhower, III <b975f4b1c5caae6e97f4176d8d8fd74a76ae1551@yahoo.com>

sticilface/Arduino,esp8266/Arduino,sticilface/Arduino,esp8266/Arduino,esp8266/Arduino,esp8266/Arduino,sticilface/Arduino,sticilface/Arduino,esp8266/Arduino,sticilface/Arduino