diff options
author | Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com> | 2024-02-20 23:24:01 -0300 |
---|---|---|
committer | Matheus Afonso Martins Moreira <matheus.a.m.moreira@gmail.com> | 2024-02-20 23:24:01 -0300 |
commit | 0ebd94c4e17bddb4220c4772168ac1d87cbd9523 (patch) | |
tree | afa12b81bbcc723ee187e2c60cd7958f11317a47 | |
parent | 79cfe315ffd27e45bc54571e03c8d622745e6df3 (diff) | |
download | Sensor-Watch-0ebd94c4e17bddb4220c4772168ac1d87cbd9523.tar.gz Sensor-Watch-0ebd94c4e17bddb4220c4772168ac1d87cbd9523.tar.bz2 Sensor-Watch-0ebd94c4e17bddb4220c4772168ac1d87cbd9523.zip |
faces/totp: delete unused structure field
The TOTP watch face now keeps track of each key separately.
There is no need to compute offsets at runtime.
-rw-r--r-- | movement/watch_faces/complication/totp_face.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/movement/watch_faces/complication/totp_face.h b/movement/watch_faces/complication/totp_face.h index 1248f716..e103b824 100644 --- a/movement/watch_faces/complication/totp_face.h +++ b/movement/watch_faces/complication/totp_face.h @@ -60,7 +60,6 @@ typedef struct { uint8_t steps; uint32_t current_code; uint8_t current_index; - uint8_t current_key_offset; } totp_state_t; void totp_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr); |