Skip to content

Commit b0c68d9

Browse files
mprsecmonr
authored andcommitted
Modify requirement for the ticker_init function.
Current version: The function ticker_init resets the internal count and disables the ticker interrupt. Proposed version: The function ticker_init allows the ticker to keep counting and disables the ticker interrupt. This is a result of the following discussion: #5233 (review)
1 parent 41dd0a0 commit b0c68d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/us_ticker_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ extern "C" {
6161
*
6262
* # Defined behavior
6363
* * The function ticker_init is safe to call repeatedly - Verified by test ::ticker_init_test
64-
* * The function ticker_init resets the internal count and disables the ticker interrupt - Verified by test ::ticker_init_test
64+
* * The function ticker_init allows the ticker to keep counting and disables the ticker interrupt - Verified by test ::ticker_init_test
6565
* * Ticker frequency is non-zero and counter is at least 8 bits - Verified by ::ticker_info_test
6666
* * The ticker rolls over at (1 << bits) and continues counting starting from 0 - Verified by ::ticker_overflow_test
6767
* * The ticker counts at the specified frequency +- 10% - Verified by ::ticker_frequency_test

0 commit comments

Comments
 (0)