forked from openthread/openthread
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sub-mac] unify the timer usage (openthread#10520)
The `SubMac` uses `MilliTimer` or `MicroTimer` based on the configuration. When the `SubMac` uses the timer, it has to distinguish the type of the timer. This commit optimizes the code to provide unified time related functions to `SubMac` to use time. This commit doesn't change the code logic.
- Loading branch information
1 parent
b73114c
commit 602167f
Showing
3 changed files
with
58 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters