Ticker class description update - small interval warning

pull/5045/head
Maciej Bocianski 2017-09-07 10:19:39 +02:00
parent 22b183a42b
commit 19ee9c1b43
1 changed files with 5 additions and 0 deletions

View File

@ -100,6 +100,11 @@ public:
*
* @param func pointer to the function to be called
* @param t the time between calls in micro-seconds
*
* @note setting @a t to a value shorter that it takes to process the ticker callback
* will cause the system to hang. Ticker callback will be called constantly with no time
* for threads scheduling.
*
*/
void attach_us(Callback<void()> func, us_timestamp_t t) {
_function = func;