1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-08 17:02:26 +03:00

recurrent scheduled functions: fix comment (#6228)

per https://github.com/esp8266/Arduino/pull/6182#issuecomment-505413580
This commit is contained in:
david gauchard
2019-06-25 20:18:19 +02:00
committed by Earle F. Philhower, III
parent 05be1a09e6
commit 80e976d1f0

View File

@ -37,7 +37,7 @@ void run_scheduled_functions();
// `yield` is not called frequently, and therefore should not be used for
// timing critical operations.
// * There is no mechanism for cancelling recurrent scheduled functions.
// * long running operations or yield() or delay() are not wise in the lambda.
// * long running operations or yield() or delay() are not allowed in the lambda.
bool schedule_recurrent_function_us (const std::function<bool(void)>& fn, uint32_t repeat_us);