From babebedcb6ec82bc53424b567a45f843745c8b87 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 16 Apr 2025 23:50:49 +0200 Subject: rename function cleanOldVotes cleanOldBallotData --- vote/vote.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vote') diff --git a/vote/vote.ino b/vote/vote.ino index 71d9c08..9eea591 100644 --- a/vote/vote.ino +++ b/vote/vote.ino @@ -107,7 +107,7 @@ void collectBallotData( } /// Clean outdated votes and mussels with no valid votes -void cleanOldVotes() { +void cleanOldBallotData() { unsigned long now = millis(); for (int i = 0; i < voterCount; ) { @@ -284,7 +284,7 @@ void loop() { alignVotes(); concludeVote(); - cleanOldVotes(); // Keeps the voter stack tidy + cleanOldBallotData(); // Keeps the voter stack tidy delay(500); } -- cgit v1.2.3