fdim-controller icon indicating copy to clipboard operation
fdim-controller copied to clipboard

Clock 12 Hr setting issues

Open ITBlandMCT opened this issue 7 years ago • 0 comments

When the clock is set to 12 Hr mode, there is one problem and one setting missing:

  1. 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.
  2. In 12 hr mode, the clock's flags data byte sent should be updated to 0xA0 for AM, 0xC0 for PM

ITBlandMCT avatar Apr 27 '19 12:04 ITBlandMCT