Remove a few unnecessary date_time to timestamp conversions

This commit is contained in:
Alessandro Genova
2025-08-26 22:23:14 -04:00
parent 450100b90a
commit 5293b7983c
3 changed files with 3 additions and 6 deletions
+1 -2
View File
@@ -30,7 +30,6 @@
#include "base32.h"
#include "watch.h"
#include "watch_utility.h"
#include "filesystem.h"
#include "totp_lfs_face.h"
@@ -253,7 +252,7 @@ void totp_lfs_face_activate(void *context) {
}
#endif
totp_state->timestamp = watch_utility_date_time_to_unix_time(movement_get_utc_date_time(), 0);
totp_state->timestamp = movement_get_utc_timestamp();
totp_face_set_record(totp_state, 0);
}