fdim-controller
fdim-controller copied to clipboard
Clock 12 Hr setting issues
When the clock is set to 12 Hr mode, there is one problem and one setting missing:
- In 12 hr mode the % calculation results in a zero for the first hour and 12th hour of the day.
Possible solution: just after line 390, would an if statement something like:
if (hour == 0 && currentSettings.clockMode == CLOCK_12) hour = 12;be the fix since it would be a problem for both the RTC and GPS in 12 Hr mode. - In 12 hr mode, the clock's flags data byte sent should be updated to 0xA0 for AM, 0xC0 for PM