Merge PR #433 - fix clock face indicators

I misinterpreted the documentation and swapped the alarm and time signal
indicators in the clock face. This patch brings it back in sync with
the original watch's behavior as described in the manual.

Reported-by: 814d3 (GitHub)
Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
GitHub-Pull-Request: https://github.com/joeycastillo/Sensor-Watch/pull/433
References: https://github.com/joeycastillo/Sensor-Watch/pull/380
References: https://github.com/joeycastillo/Sensor-Watch/issues/132
This commit is contained in:
Matheus Afonso Martins Moreira 2024-08-28 22:39:12 -03:00
commit 95ca374c98

View file

@ -70,11 +70,11 @@ static void clock_indicate(WatchIndicatorSegment indicator, bool on) {
} }
static void clock_indicate_alarm(movement_settings_t *settings) { static void clock_indicate_alarm(movement_settings_t *settings) {
clock_indicate(WATCH_INDICATOR_BELL, settings->bit.alarm_enabled); clock_indicate(WATCH_INDICATOR_SIGNAL, settings->bit.alarm_enabled);
} }
static void clock_indicate_time_signal(clock_state_t *clock) { static void clock_indicate_time_signal(clock_state_t *clock) {
clock_indicate(WATCH_INDICATOR_SIGNAL, clock->time_signal_enabled); clock_indicate(WATCH_INDICATOR_BELL, clock->time_signal_enabled);
} }
static void clock_indicate_24h(movement_settings_t *settings) { static void clock_indicate_24h(movement_settings_t *settings) {