Skip to content

Commit

Permalink
optimistic_yield is a yield, not a delay, and avoids yielding if last…
Browse files Browse the repository at this point in the history
… yield has occurred recently enough.
  • Loading branch information
dok-net committed Jan 18, 2020
1 parent 00440cd commit 6cfbee7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/host/common/Arduino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ extern "C" bool can_yield()

extern "C" void optimistic_yield (uint32_t interval_us)
{
usleep(interval_us);
}

extern "C" void esp_yield()
Expand Down

0 comments on commit 6cfbee7

Please sign in to comment.