Skip to content

Commit 8beedce

Browse files
Merge pull request #5019 from fkjagodzinski/fix-ticker_API_docs
Fix an incorrect comment in ticker API
2 parents 943fc32 + b1ff37c commit 8beedce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hal/ticker_api.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,9 @@ void ticker_insert_event(const ticker_data_t *const ticker, ticker_event_t *obj,
132132
*
133133
* The event will be executed in timestamp - ticker_read_us() us.
134134
*
135-
* @warning If an event is inserted with a timestamp less than the current
136-
* timestamp then the event will **not** be inserted.
135+
* @note If an event is inserted with a timestamp less than the current
136+
* timestamp then the event will be scheduled immediately resulting in
137+
* an instant call to event handler.
137138
*
138139
* @param ticker The ticker object.
139140
* @param obj The event object to be inserted to the queue

0 commit comments

Comments
 (0)