Skip to content

Commit 80e976d

Browse files
d-a-vearlephilhower
authored andcommitted
recurrent scheduled functions: fix comment (#6228)
per #6182 (comment)
1 parent 05be1a0 commit 80e976d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/Schedule.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void run_scheduled_functions();
3737
// `yield` is not called frequently, and therefore should not be used for
3838
// timing critical operations.
3939
// * There is no mechanism for cancelling recurrent scheduled functions.
40-
// * long running operations or yield() or delay() are not wise in the lambda.
40+
// * long running operations or yield() or delay() are not allowed in the lambda.
4141

4242
bool schedule_recurrent_function_us (const std::function<bool(void)>& fn, uint32_t repeat_us);
4343

0 commit comments

Comments
 (0)