Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Jan 24, 2023

Fixes #87

When RTC init after power off (only VBAT available), after restore date from backup register in the RTC hadnle, HAL_RTC_GetDate is called to update date automatically based on counter time value else if one or more day elapsed it is not take in account.

Fixes stm32duino#87

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm added the bug label Jan 24, 2023
@fpistm fpistm added this to the 1.3.6 milestone Jan 24, 2023
@fpistm fpistm requested a review from ABOSTM January 24, 2023 09:58
Copy link
Contributor

@ABOSTM ABOSTM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fpistm fpistm merged commit fdebabc into stm32duino:main Jan 25, 2023
@fpistm fpistm deleted the F1_Date branch January 25, 2023 15:27
@fpistm fpistm added bug 🐛 Something isn't working fix 🩹 Bug fix and removed bug bug 🐛 Something isn't working labels Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STM32F1: RTC does not advance date when running from VBAT for long periods of time
2 participants