From db4d68232552184fd5050f6cde97250fcd9492fd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 16 Apr 2025 23:43:22 +0200 Subject: rename function storeVoteForMussel -> collectBallotData --- vote/vote.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vote/vote.ino') 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); } } }; -- cgit v1.2.3