diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 23:43:22 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-04-16 23:43:22 +0200 |
commit | db4d68232552184fd5050f6cde97250fcd9492fd (patch) | |
tree | cfab86cfed853e11869d5822db75585e7c5a5e32 /vote | |
parent | 49378cf8be49d15f00dd39e8cdcf0df38d521a11 (diff) |
rename function storeVoteForMussel -> collectBallotData
Diffstat (limited to 'vote')
-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 a9622b5..71d9c08 100644 --- a/vote/vote.ino +++ b/vote/vote.ino @@ -73,7 +73,7 @@ int findVoterIndex(const String& id) { } /// Add or update vote for a mussel ID -void storeVoteForMussel( +void collectBallotData( const String& id, unsigned long timestamp, int gape_measure ) { int index = findVoterIndex(id); @@ -257,7 +257,7 @@ class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks { String musselID = advertisedDevice.getName(); int gape = EddystoneTLM.getTemp(); - storeVoteForMussel(musselID, now, gape); + collectBallotData(musselID, now, gape); } } }; |