From cc4275694be97f365096eefb9b7513b41bcfdcd4 Mon Sep 17 00:00:00 2001 From: Joey Castillo Date: Thu, 12 May 2022 10:41:04 -0400 Subject: WIP: totp watch face read from file --- movement/watch_faces/complication/totp_face.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'movement/watch_faces/complication/totp_face.h') diff --git a/movement/watch_faces/complication/totp_face.h b/movement/watch_faces/complication/totp_face.h index dfa4a6d0..c1376f94 100644 --- a/movement/watch_faces/complication/totp_face.h +++ b/movement/watch_faces/complication/totp_face.h @@ -4,10 +4,13 @@ #include "movement.h" typedef struct { + char site_name[3]; + uint8_t hmac_key[10]; uint32_t timestamp; uint8_t steps; uint32_t current_code; - + uint8_t my_filename_index; + bool valid; } totp_state_t; void totp_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr); -- cgit v1.2.3