update for totp

This commit is contained in:
RogueMaster
2022-10-17 10:15:48 -04:00
parent 91a3336032
commit f8099d2344
53 changed files with 1993 additions and 2126 deletions

View File

@@ -6,7 +6,7 @@ int32_t timezone_offset_from_hours(float hours) {
uint64_t timezone_offset_apply(uint64_t time, int32_t offset) {
uint64_t for_time_adjusted;
if(offset > 0) {
if (offset > 0) {
for_time_adjusted = time - offset;
} else {
for_time_adjusted = time + (-offset);