diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-11-28 18:15:21 -0500 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-11-29 10:33:42 -0500 |
commit | 03fb09f5b47a5d2da079e58a74d6285139a3f974 (patch) | |
tree | bb2309221974f1f78628e29832d4e0b7d64fd7ac /movement/movement.h | |
parent | 812c6c2612c6aa89c9e2bd356f1b8c2a829d5f6a (diff) | |
download | Sensor-Watch-03fb09f5b47a5d2da079e58a74d6285139a3f974.tar.gz Sensor-Watch-03fb09f5b47a5d2da079e58a74d6285139a3f974.tar.bz2 Sensor-Watch-03fb09f5b47a5d2da079e58a74d6285139a3f974.zip |
movement: more granular button and LED timing via fast tick
Diffstat (limited to 'movement/movement.h')
-rw-r--r-- | movement/movement.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/movement/movement.h b/movement/movement.h index e0b13e2a..2e7630b2 100644 --- a/movement/movement.h +++ b/movement/movement.h @@ -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; |