From 7c4abc960d3c2a1e90a5273557304f58ae1a5ff6 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 16 Apr 2025 23:18:14 +0200 Subject: fix log syntax, and revert to milliseconds --- vote/vote.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vote/vote.ino') 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"; } } -- cgit v1.2.3