File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -59,10 +59,11 @@ void run_scheduled_functions();
59
59
// functions. However a user function returning false will cancel itself.
60
60
// * Long running operations or yield() or delay() are not allowed in the
61
61
// recurrent function.
62
- // * If a wakeupToken is used, anytime during scheduling when its value differs from that
63
- // during this call, any remaining delay from repeat_us is disregarded, and fn is executed.
64
- bool schedule_recurrent_function_us (const std::function<bool (void )>& fn, uint32_t repeat_us,
65
- const std::atomic<bool>* wakeupToken = nullptr);
62
+ // * If a wakeupToken is used, anytime during scheduling when its value differs
63
+ // from the original one in this call, any remaining delay from repeat_us is
64
+ // disregarded, and fn is executed.
65
+ bool schedule_recurrent_function_us (const std::function<bool (void )>& fn,
66
+ uint32_t repeat_us, const std::atomic<bool>* wakeupToken = nullptr);
66
67
67
68
// Test recurrence and run recurrent scheduled functions.
68
69
// (internally called at every `yield()` and `loop()`)
You can’t perform that action at this time.
0 commit comments