aboutsummaryrefslogtreecommitdiff
path: root/vote
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-04-16 23:18:14 +0200
committerJonas Smedegaard <dr@jones.dk>2025-04-16 23:18:14 +0200
commit7c4abc960d3c2a1e90a5273557304f58ae1a5ff6 (patch)
tree96e06c363119a8ee8489011c0b7fdc74d8a70f95 /vote
parentf1743a01cf758829eddd589f1f3aa5e35749ce28 (diff)
fix log syntax, and revert to milliseconds
Diffstat (limited to 'vote')
-rw-r--r--vote/vote.ino8
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";
}
}