-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: fix embasy time driver implementation
The original time driver is actually running on so-called "low-power" mode. i.e. it does not tick. It sleeps(WFI) to next alarm instead. The Embassy timer driver implies the tick should be activated every TICK_HZ. This is OK for EXTI awaits, which also awakes the core.But it'll fail when using peripherals like DMA(requires CPU time to finish job).
- Loading branch information
Showing
1 changed file
with
12 additions
and
6 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