diff options
| author | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 23:50:49 +0200 |
|---|---|---|
| committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 23:50:49 +0200 |
| commit | babebedcb6ec82bc53424b567a45f843745c8b87 (patch) | |
| tree | f67555c27e723c0cca5c9d6fd7c7a9e1a1cc0e7c | |
| parent | db4d68232552184fd5050f6cde97250fcd9492fd (diff) | |
rename function cleanOldVotes cleanOldBallotData
| -rw-r--r-- | vote/vote.ino | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |
