mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-07 06:01:35 +03:00
Allman now (#6080)
* switch restyle script for CI * remove confirmation * restyle with allman
This commit is contained in:
committed by
david gauchard
parent
625c3a62c4
commit
98125f8860
@ -6,12 +6,12 @@
|
||||
#define SCHEDULED_FN_MAX_COUNT 32
|
||||
#define SCHEDULED_FN_INITIAL_COUNT 4
|
||||
|
||||
// Warning
|
||||
// This API is not considered stable.
|
||||
// Warning
|
||||
// This API is not considered stable.
|
||||
// Function signatures will change.
|
||||
// You have been warned.
|
||||
|
||||
// Run given function next time `loop` function returns,
|
||||
// Run given function next time `loop` function returns,
|
||||
// or `run_scheduled_functions` is called.
|
||||
// Use std::bind to pass arguments to a function, or call a class member function.
|
||||
// Note: there is no mechanism for cancelling scheduled functions.
|
||||
@ -19,7 +19,7 @@
|
||||
// Returns false if the number of scheduled functions exceeds SCHEDULED_FN_MAX_COUNT.
|
||||
bool schedule_function(std::function<void(void)> fn);
|
||||
|
||||
// Run all scheduled functions.
|
||||
// Run all scheduled functions.
|
||||
// Use this function if your are not using `loop`, or `loop` does not return
|
||||
// on a regular basis.
|
||||
void run_scheduled_functions();
|
||||
|
Reference in New Issue
Block a user