We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f0a1075 + 19ee9c1 commit f57f0d4Copy full SHA for f57f0d4
drivers/Ticker.h
@@ -101,6 +101,11 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
101
*
102
* @param func pointer to the function to be called
103
* @param t the time between calls in micro-seconds
104
+ *
105
+ * @note setting @a t to a value shorter that it takes to process the ticker callback
106
+ * will cause the system to hang. Ticker callback will be called constantly with no time
107
+ * for threads scheduling.
108
109
*/
110
void attach_us(Callback<void()> func, us_timestamp_t t) {
111
// lock only for the initial callback setup
0 commit comments