mirror of
https://github.com/firewalkwithm3/Sensor-Watch.git
synced 2024-11-22 11:10:29 +08:00
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:
commit
95ca374c98
|
@ -70,11 +70,11 @@ static void clock_indicate(WatchIndicatorSegment indicator, bool on) {
|
|||
}
|
||||
|
||||
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) {
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue