Commit Graph

837 Commits

Author SHA1 Message Date
d7369cd00d Merge branch 'main' into theAlexes/cleanup 2024-01-21 01:31:58 -05:00
9e41ac8e49 Merge pull request #360 from CarpeNoctem/compiler_warning_watch_face_index
template: fix compiler warning on watch_face_index as mentioned in PR269
2024-01-21 01:21:32 -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
50dccd07d3 buzzer: fix simulator build, refactor sequence_length. 2024-01-09 16:22:21 -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
b6cdef0689 Merge pull request #350 from pfmaggi/main
Handle visibility for tomato watchface
2024-01-09 15:54:46 -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
63d6bc6aa0 Merge pull request #336 from theAlexes/theAlexes/sanitize
fix undefined behavior found by clang's sanitize

The compiler isn't completely assured of the possible range of this variable. Probably harmless, but it clears up a clang sanitize error.
2023-12-06 21:49:58 -05:00
8206f37fcf fix undefined behavior found by clang's sanitize 2023-12-07 02:24:26 +00:00
1b90a4a07a Kitchen Conversions Face 2023-12-01 15:33:38 -05:00
91c82ee5f2 Merge pull request #281 from Kistelini/day_one_face
Improvements for Day One face
2023-11-27 23:24:04 -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
3487d742f1 Merge pull request #330 from hchargois/fix-simulator-keyboard-shortcuts
Fix simulator keyboard shortcuts
2023-11-19 21:56:05 -05:00
b82d728937 Simulator: Add keyboard arrows as buttons shortcuts 2023-11-19 19:50:39 +01:00
bd9d792230 Simulator: Allow sending debug command with Enter 2023-11-19 19:50:39 +01:00
2534dc7a65 Simulator: Allow typing a, l & m in console input
These keys are the shortcuts to "press" the alarm, light and mode
buttons. However, they prevent these letters from being input in the
debug console to send filesystem commands. Strangely, there was already
some code to allow typing these letters in the console output, but not
in the input.
2023-11-19 19:45:51 +01:00
4ececdc57a Merge pull request #305 from ekaitz-zarraga/couch-2-5k
Add Couch-To-5k training face
2023-11-19 11:44:11 -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
50e3da11bd Merge pull request #308 from BrianBinFL/feat/minute-repeater-decimal-face
Add minute repeater decimal face
2023-11-19 01:07:31 -05:00
6cc2b23723 Merge branch 'main' into feat/minute-repeater-decimal-face 2023-11-19 00:56:33 -05:00
76b580a5be Merge pull request #262 from rieck/timestamp-fix
Fix for incorrect conversion from `watch_date_time` to Unix time.
2023-11-19 00:10:19 -05:00
c4a5cb463e Merge pull request #276 from hchargois/simulator-volume-slider
Simulator volume slider
2023-11-18 23:17:56 -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
5b212a4423 Fix simulator and hardware divergence in callback handling (#252)
When using the simulator, I encountered cases where the light would become stuck on, and the watch
would be unresponsive. In particular, this would occur when pressing the light button on the
sunrise sunset watch face.

I appears that this is caused by a divergence in out the callback mask is interpreted by the
hardware interface, and in the simulator in the following function.

void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask)

In particular, a mask of 0xFE is intended to disable all except the 128hz callback at index 0,
but instead disables all except the 1hz callback at index 7 in the simulator.
2023-11-18 23:10:45 -05:00
ae6ccfd637 Merge pull request #273 from hchargois/atchar-pos-0
Turn on the funky segment of pos 0 for char '@'
2023-11-18 23:09:17 -05:00
cda66e8c31 Merge pull request #267 from navan93/print-memory-percentages
Print memory percentages
2023-11-18 23:08:30 -05:00
2e9ea8c36f Improve simulator page design 2023-11-19 01:24:57 +01:00
0263d9e0c7 Merge pull request #292 from WesleyAC/error-when-no-color
Don't allow building without setting board color.
2023-11-17 12:31:40 -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