Remove second and minute hands

This commit is contained in:
zyphlar 2024-01-06 17:10:35 -08:00
parent b7301d51cd
commit 796e8f1ada
Signed by: will
GPG Key ID: 1159B930701263F3
2 changed files with 4 additions and 3 deletions

View File

@ -3,7 +3,7 @@ name: CI
# Run this workflow whenever the build may be affected
on:
push:
branches: [ main, wb/fuzzy, wb/fuzzy-norm ]
branches: [ main, wb/fuzzy, wb/fuzzy-norm, wb/fuzzy-analog ]
paths-ignore:
- 'doc/**'
- '**.md'

View File

@ -176,7 +176,7 @@ void WatchFaceAnalog::UpdateClock() {
uint8_t minute = dateTimeController.Minutes();
uint8_t second = dateTimeController.Seconds();
if (sMinute != minute) {
if (minute>99 && sMinute != minute) { // disable
auto const angle = minute * 6;
minute_point[0] = CoordinateRelocate(30, angle);
minute_point[1] = CoordinateRelocate(MinuteLength, angle);
@ -203,7 +203,8 @@ void WatchFaceAnalog::UpdateClock() {
lv_line_set_points(hour_body_trace, hour_point_trace, 2);
}
if (sSecond != second) {
if (second>99 && sSecond != second) { // disable
sSecond = second;
auto const angle = second * 6;