movement: more granular button and LED timing via fast tick

This commit is contained in:
Joey Castillo
2021-11-28 18:15:21 -05:00
parent 812c6c2612
commit 03fb09f5b4
4 changed files with 65 additions and 34 deletions

View File

@@ -210,10 +210,11 @@ typedef struct {
int16_t current_watch_face;
int16_t next_watch_face;
bool watch_face_changed;
bool fast_tick_enabled;
int16_t fast_ticks;
// LED stuff
uint8_t light_ticks;
bool led_on;
int16_t light_ticks;
// button tracking for long press
uint8_t light_down_timestamp;