Skip to content

Commit

Permalink
recurrent scheduled functions: fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
d-a-v committed Jun 25, 2019
1 parent 05be1a0 commit b47ece8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/Schedule.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b47ece8

Please sign in to comment.