Commit Graph

389 Commits

Author SHA1 Message Date
d7369cd00d Merge branch 'main' into theAlexes/cleanup 2024-01-21 01:31:58 -05:00
6985ca54f3 template: fix compiler warning on watch_face_index as mentioned in PR 269 2024-01-17 23:08:54 +11:00
07e45acba7 Merge pull request #325 from WesleyAC/fix-le-buzzer-default-tune
Fix buzzer in LE mode.
2024-01-11 19:53:51 -05:00
cd44cb74a2 fix alternate firmware script 2024-01-10 09:38:33 -05:00
bf8c1b5dae Merge pull request #342 from theAlexes/theAlexes/nanosec-profile-bug
delete stray line of code that messed with correction profile
2024-01-09 17:46:48 -05:00
aa3a1eeeef movement: Use LE mode code to keep buzzer awake, instead of sleeping. 2024-01-09 16:24:11 -05:00
e9fe4aeefe Enable custom signal tones 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.
2024-01-09 16:22:21 -05:00
3ee32c6e57 Use legacy buzzer functions when playing default tune.
This allows the default tune to be played in LE mode.

Fixes: #275
2024-01-09 16:22:21 -05:00
6f4917a0d5 Revert "Merge pull request #283 from neutralinsomniac/fix_hourly_chime_background"
This reverts commit 5c94111ea2, reversing
changes made to bc9b4ce700.
2024-01-09 16:22:21 -05:00
8e0e942573 Handle visibility for tomato watchface
(cherry picked from commit 547e8248ba3538693ee8c587a92ffece7b40d1a2)
2024-01-07 12:43:18 +01:00
399679ac59 delete stray line of code that messed with correction profile while adjusting cadence 2023-12-22 22:35:46 +00:00
0e801ed505 make the watch-face a global in movement.c, actually 2023-12-17 03:23:26 +00:00
8eae6eabd6 clean up trailing whitespace in movement.c 2023-12-16 22:23:32 +00:00
0ffe19da5b use a pointer to the watch face in the app loop instead of indirecting through the index each time, and also recalculate can_sleep based on the timeout loop call. 2023-12-16 22:23:19 +00:00
06d546f179 make it clear that the movement_state contains indexes 2023-12-16 22:08:10 +00:00
1b90a4a07a Kitchen Conversions Face 2023-12-01 15:33:38 -05:00
a2f1ba9171 Merge branch 'main' into day_one_face 2023-11-27 23:08:28 -05:00
7802994854 Fix missing documentation for many clock faces:
* 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.
2023-11-27 23:06:19 -05:00
735bbc97d7 Merge branch 'main' into couch-2-5k 2023-11-19 15:36:52 +01:00
f77ddc83b8 Resign when the entering LE 2023-11-19 15:31:56 +01:00
30c8da7f55 Fit naming conventions 2023-11-19 15:28:45 +01:00
6cc2b23723 Merge branch 'main' into feat/minute-repeater-decimal-face 2023-11-19 00:56:33 -05:00
3b9fd8b0e9 Merge pull request #302 from LtKeks/Sensor-Watch-bugfix-timer_face-datatype
timer_face - Possibility to set seconds as default values
2023-11-18 23:12:51 -05:00
2b7162c2be Merge pull request #270 from perw/tuning_tones
new face: Tuning tones
2023-11-18 23:11:56 -05:00
984990fb66 day_one_face: show set date on short alarm button press 2023-11-17 09:11:18 +01:00
e8b7985dde day_one_face: enable quick cycle through settings
This allows the alarm button to be held down in the date settings and
quickly cycle through the dates instead of having to push for each
single increment like in other faces.
2023-11-17 09:11:18 +01:00
1022359252 day_one_face: allow years until 2080
This is the same limit introduced in commit 7fd51ca
2023-11-17 09:11:18 +01:00
8c7e9fa558 day_one_face: cleanup 2023-11-17 09:11:16 +01:00
9c895817a0 Add minute repeater decimal face 2023-10-24 18:20:54 -04:00
d3d76ed0e7 Add sound to pause/resume button 2023-10-21 15:47:26 +02:00
cde6ae3598 Add Couch-To-5k training face 2023-10-21 01:30:03 +02:00
ad846f5060 Update timer_face.c
Corrects the data type of the standard values in order to be able to configure seconds as well.
2023-10-15 17:35:36 +02:00
b162dc0663 use movement_play_signal for default tune (fixes background signal) 2023-09-24 12:41:18 -04:00
45f402b4ec move buzzer enabled detection logic into movement for movement_play_signal/tune
this way watch faces don't have to disable/enable the buzzer themselves
before calling movement_play_signal() and movement_play_tune()
2023-09-23 10:56:12 -04:00
bfde84f01d fix signal tunes not firing in background, and split out foreground/background chime functions 2023-09-22 07:29:04 -04:00
bc9b4ce700 update alternate firmware for new board color 2023-09-13 14:08:52 -04:00
9cd39cd3e3 add new COLOR flag 2023-09-13 11:40:40 -04:00
9e88f37ced new face: Tuning tones
Add a new face that plays out tones that can be used as a
reference when tuning musical instruments.
2023-09-06 21:46:31 +02:00
7fd51caa25 support years through 2080 2023-08-27 17:53:17 -04:00
d323b79916 new default firmware 2023-08-25 15:44:33 -04:00
e38f3bbec9 show temperature and battery voltage in low energy mode 2023-08-25 15:44:33 -04:00
fd2c8c2065 add sensor watch lite 2023-08-17 14:35:51 -04:00
15eeca6b59 Decimal time face (#260)
* Update movement_faces.h

adding decimal_time_face.h to build

* Decimal Time, a new clock face

This face presents the current time as hours and hundredths of an hour.

* add decimal time to Makefile
2023-07-29 08:10:28 -04:00
07f150fbec Merge pull request #253 from Kistelini/counter
Counter face: change sound to non-blocking, add option to deactivate sound
2023-07-29 07:48:16 -04:00
e5dcc9d1b7 counter face: move beep_on to watch face state 2023-07-29 07:43:51 -04:00
2738a8b77a Merge pull request #258 from analogist/nanosec-fix-profbounds
fix nanosec_face correction_profile bounds from going negative
2023-07-29 07:30:40 -04:00
923112172d Wyoscan .5 hz watchface (#256)
* initial wyoscan commit

* initial attempt at animation

* kinda working

* visually working but running out of memory

* slower

* little fixes

* add hardware watch blink function

* refine number animation

* remove movement from config for merging

* silence warnings

---------

Co-authored-by: Willy Hardy <whardy@redhat.com>
2023-07-29 07:22:42 -04:00
1377d36622 silence warnings 2023-07-29 07:03:49 -04:00
19672edcfb fix settings/nanosec correction_profile bounds 2023-07-20 00:27:37 +00:00
ed8149a759 Counter face: change sound to non-blocking, add option to deactivate sound 2023-07-04 17:02:31 +02:00