Skip to content

Commit

Permalink
Return bool from update
Browse files Browse the repository at this point in the history
  • Loading branch information
lbussy committed Apr 8, 2020
1 parent b86440d commit 7cf5db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bubbles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ bool Bubbles::update() { // Regular update loop, once per minute
tempVesAvg.push(lastVes);
bubAvg.push(lastBpm);
sampleSize = tempVesAvg.size();

return true;
}

float Bubbles::getRawBpm() { // Return raw pulses per minute (resets counter)
Expand Down

0 comments on commit 7cf5db2

Please sign in to comment.