diff options
Diffstat (limited to 'vote/vote.ino')
-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); } } }; |