From 0ebd94c4e17bddb4220c4772168ac1d87cbd9523 Mon Sep 17 00:00:00 2001 From: Matheus Afonso Martins Moreira Date: Tue, 20 Feb 2024 23:24:01 -0300 Subject: [PATCH] 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. --- movement/watch_faces/complication/totp_face.h | 1 - 1 file changed, 1 deletion(-) 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);