From: Matheus Afonso Martins Moreira Date: Wed, 21 Feb 2024 02:24:01 +0000 (-0300) Subject: faces/totp: delete unused structure field X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=0ebd94c4e17bddb4220c4772168ac1d87cbd9523;p=sensor-watch.git 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. --- diff --git a/movement/watch_faces/complication/totp_face.h b/movement/watch_faces/complication/totp_face.h index 1248f71..e103b82 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);