diff options
Diffstat (limited to 'vote')
-rw-r--r-- | vote/vote.ino | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/vote/vote.ino b/vote/vote.ino index 919006c..9423c02 100644 --- a/vote/vote.ino +++ b/vote/vote.ino @@ -257,15 +257,7 @@ class MyAdvertisedDeviceCallbacks : public BLEAdvertisedDeviceCallbacks { String musselID = advertisedDevice.getName(); int gape = EddystoneTLM.getTemp(); - // 1. Store vote storeVoteForMussel(musselID, now, gape); - - // 2. Align - alignVotes(); - - // 4. Conclude - concludeMusselVote(); - } } }; @@ -290,6 +282,8 @@ void loop() { pBLEScan->start(SCAN_TIME_SEC, false); pBLEScan->clearResults(); + alignVotes(); + concludeMusselVote(); cleanOldVotes(); // Keeps the voter stack tidy delay(500); |