From 80e976d1f0f48445fc54383632c5ebf764b2c1e0 Mon Sep 17 00:00:00 2001 From: david gauchard Date: Tue, 25 Jun 2019 20:18:19 +0200 Subject: [PATCH] recurrent scheduled functions: fix comment (#6228) per https://github.com/esp8266/Arduino/pull/6182#issuecomment-505413580 --- cores/esp8266/Schedule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp8266/Schedule.h b/cores/esp8266/Schedule.h index 03b454717..3fcb2810c 100644 --- a/cores/esp8266/Schedule.h +++ b/cores/esp8266/Schedule.h @@ -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& fn, uint32_t repeat_us);