diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 23:18:14 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 23:18:14 +0200 |
commit | 7c4abc960d3c2a1e90a5273557304f58ae1a5ff6 (patch) | |
tree | 96e06c363119a8ee8489011c0b7fdc74d8a70f95 /vote | |
parent | f1743a01cf758829eddd589f1f3aa5e35749ce28 (diff) |
fix log syntax, and revert to milliseconds
Diffstat (limited to 'vote')
-rw-r--r-- | vote/vote.ino | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vote/vote.ino b/vote/vote.ino index ac5a5f5..14b1e99 100644 --- a/vote/vote.ino +++ b/vote/vote.ino @@ -176,12 +176,12 @@ const char* qualifyMusselVote( unsigned long age = now - voteTimestamp; if (age <= VOTE_TIME_TOLERANCE) { - log_i("VALID: Vote is within 1 minute (age: %lus)", - age / 1000); + log_i("VALID: Vote is within 1 minute (age: %lums)", + age); return "valid"; } else { - log_i("INVALID: Vote is older than 1 minute (age: %lus)" - age / 1000); + log_i("INVALID: Vote is older than 1 minute (age: %lums)", + age); return "invalid"; } } |