Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(radio): Limit year range for RTC to prevent overflow #4124

Merged
merged 1 commit into from
Oct 3, 2023

Conversation

philmoz
Copy link
Collaborator

@philmoz philmoz commented Sep 28, 2023

Fixes #4120

@pfeerick pfeerick added the UX-UI Related to user experience (UX) or user interface (UI) behaviour label Sep 29, 2023
@pfeerick
Copy link
Member

pfeerick commented Oct 3, 2023

Correctly limiting on TX16S and X9D+2019... there is still the jump from 1970 to the min range if the RTC has been reset, but now changing the values won't cause overflow, and is more indicative of the fact the RTC battery was probably flat so needs setting anyway :)

@pfeerick pfeerick changed the title fix(radio): Limit year range for RTC to prevent overflow. fix(radio): Limit year range for RTC to prevent overflow Oct 3, 2023
@pfeerick pfeerick merged commit a9f468e into EdgeTX:main Oct 3, 2023
37 checks passed
@pfeerick pfeerick added this to the 2.10 milestone Oct 3, 2023
@philmoz philmoz deleted the limit-rtc-year-range branch January 9, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX-UI Related to user experience (UX) or user interface (UI) behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date resets when year reaches 2038
2 participants