| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
There is no need to set the indicator on every clock tick.
Indicate only when the battery is checked.
|
|
|
|
|
| |
The alarm state is not modified within the clock face.
Therefore, it only needs to be set when the face is activated.
|
|
|
|
| |
Simplifies the code by defining dedicated functions for this.
|
|
|
|
| |
Simplifies the code by defining dedicated functions for this.
|
|
|
|
|
| |
Check the battery after the time has been updated.
Place all the indication code next to each other.
|
|
|
|
| |
Simplifies the code by defining dedicated functions for this.
|
|
|
|
| |
Simplifies the code by defining dedicated functions for this.
|
|
|
|
| |
Simplifies the code by defining dedicated functions for this.
|
|
|
|
|
|
|
| |
Simplifies the code by defining dedicated functions
and separating the case from the main ones.
Also use the snprintf function since the buffer size is known.
|
|
|
|
|
| |
Simplifies the code by adding a dedicated function for this.
Also documents the meaning of the LAP indicator: Low Available Power.
|
|
|
|
|
| |
Move the code in question to a dedicated function. Better organized.
Add overridable preprocessor definition for the low battery threshold.
|
|
|
|
| |
Simplifies the code by adding dedicated functions for this.
|
|
|
|
| |
Simplifies the code by adding a dedicated function for this.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simplifies the code and makes it use the correct indicator.
For some reason it had been switched with the alarm indicator.
WATCH_INDICATOR_BELL
The small bell indicating that an alarm is set.
WATCH_INDICATOR_SIGNAL
The hourly signal indicator.
Also useful for indicating that sensors are on.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Deduplicates state in the clock state and movement settings.
Makes the code simpler.
Also makes it use the correct indicator.
For some reason it had been switched
with the hourly chime indicator.
WATCH_INDICATOR_BELL
The small bell indicating that an alarm is set.
WATCH_INDICATOR_SIGNAL
The hourly signal indicator.
Also useful for indicating that sensors are on.
|
|
|
|
| |
Sets or clears the specified indicator based on some boolean value.
|
|
|
|
|
|
|
|
|
|
|
| |
Instances of the clock state structure
are only passed to the clock face itself
and only via the opaque context pointer.
No other code uses it.
Thus there is no need to expose it in a header file.
So make it an implementation detail of the watch face
by localizing it inside the translation unit.
|
|
|
|
|
| |
It's not actually so simple and will only gain features from now on.
Just "clock face" also feels more canonical.
|
|
|
|
|
|
|
|
| |
I like to use the ten minute timeout on my watch and there are other
people who have similar interests in a lower deadline. The two day
deadline had to go to still accommodate the change within the three
bit index.
The default setting is still the one hour timeout.
|
|
|
|
| |
This reverts commit 0e801ed505cb0c368bf1eb0473058efb6c275a3e.
|
|\
| |
| | |
make the zero in wyoscan a little more visually appealing
|
| | |
|
|\ \ |
|
| |\ \ |
|
| | |\ \ |
|
| | | |\ \ |
|
| | | | |\ \ |
|
| | | | | | | |
|
| | | | | |\ \
| | | | | | | |
| | | | | | | | |
Fix buzzer in LE mode.
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This makes movement_play_signal synchronous when in LE mode, despite
using the underlying asynchronous API. It's a bit of a hack, but it
should work well enough for now.
This also moves the enabling/disabling of the buzzer into the
movement_play_signal function, so that watch faces no longer have to do
it.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
This allows the default tune to be played in LE mode.
Fixes: #275
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
neutralinsomniac/fix_hourly_chime_background"
This reverts commit 5c94111ea20e50cb9dab8f416603403185e933b3, reversing
changes made to bc9b4ce700d3f12adc0daceaa880e3d638df0c2b.
|
| | | | | | | | |
|
| | | | | |\ \ \
| | | | | | |/ /
| | | | | |/| | |
delete stray line of code that messed with correction profile
|
| | | | | | |/
| | | | | | |
| | | | | | |
| | | | | | | |
adjusting cadence
|
| | | | | |/
| | | | | |
| | | | | |
| | | | | | |
(cherry picked from commit 547e8248ba3538693ee8c587a92ffece7b40d1a2)
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
through the index each time, and also recalculate can_sleep based on the timeout loop call.
|
| | | | |/ |
|
| | | | | |
|
| | | | |\ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* Move from .c to .h as needed for consistency.
* When missing from both, copy from pull request or wiki.
* When missing entirely, infer functionality from source code.
|
| | | | | |\ |
|
| | | | | | |\ |
|
| | | | | | | |\
| | | | | | | | |
| | | | | | | | | |
timer_face - Possibility to set seconds as default values
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Corrects the data type of the standard values in order to be able to configure seconds as well.
|
| | | | | | | |\ \
| | | | | | | | |/
| | | | | | | |/| |
new face: Tuning tones
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
Add a new face that plays out tones that can be used as a
reference when tuning musical instruments.
|