-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STM32 RTC : write RTC time while LPTICKER is enabled
This fix avoid a long waiting loop in rtc_write function, which was not acceptable in TICKLESS context. Implementation comments added. Global variable name has been updated for easier maintenance: - LPTICKER_counter is the U32 continuous tick counter - LPTICKER_RTC_time is the RTC time used to get the time difference between rtc_read_lp() calls
- Loading branch information
1 parent
1af1a4a
commit 83caa04
Showing
1 changed file
with
26 additions
and
21 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