Sensor watch sailing face (#205)
* Update sailing_face.c Modified sailing_face. Added features, some of which @niclashoyer already suggested in his initial PR: - stopwatch-like counter after start signal - lap counter after start signal - optional additional sounds at every minute, 30s, 10s countdown - sound options (no sound, start only, signals only, all) - maximum starting time up to 10min (instead of 9) - improved timing, display is no longer delayed by sound * Update sailing_face.h Modified sailing_face. Added features, some of which @niclashoyer already suggested in his initial PR: - stopwatch-like counter after start signal - lap counter after start signal - optional additional sounds at every minute, 30s, 10s countdown - sound options (no sound, start only, signals only, all) - maximum starting time up to 10min (instead of 9) - improved timing, display is no longer delayed by sound
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
/*
|
||||
* MIT License
|
||||
*
|
||||
* Copyright (c) 2023 Jan H. Voigt
|
||||
* Copyright (c) 2022 Wesley Ellis
|
||||
* Copyright (c) 2022 Niclas Hoyer
|
||||
*
|
||||
@@ -38,13 +39,15 @@ A sailing sailing/timer face
|
||||
typedef enum {
|
||||
sl_waiting,
|
||||
sl_running,
|
||||
sl_setting
|
||||
sl_setting,
|
||||
sl_counting
|
||||
} sailing_mode_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t watch_face_index;
|
||||
uint32_t target_ts;
|
||||
uint32_t now_ts;
|
||||
uint32_t nextbeep_ts;
|
||||
uint8_t index;
|
||||
uint8_t minutes[6];
|
||||
uint8_t selection;
|
||||
|
||||
Reference in New Issue
Block a user