-
-
Notifications
You must be signed in to change notification settings - Fork 357
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(color): Restrict time/date to valid values, check for changed val…
…ues before updating screen (#2884) * Fix RTC date editing to limit day max value to actual number of days in the selected month. If month or year is updated check that day value is still in range, if not update day to max value for selected year and month. Only update UI values that have actually changed. * Use struct assignment instead of memcpy to initialise property.
- Loading branch information
Showing
1 changed file
with
103 additions
and
91 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