Skip to content

Commit

Permalink
Merge pull request #30 from adiazulay/master
Browse files Browse the repository at this point in the history
add isCounterRunning function
  • Loading branch information
inflop authored Apr 19, 2024
2 parents 3f9a4e4 + 44b1285 commit 02ec9ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Countimer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ bool Countimer::isStopped()
return _isStopped;
}

bool Countimer::isCounterRunning()
{
return !_isStopped;
}

void Countimer::start()
{
_isStopped = false;
Expand Down

0 comments on commit 02ec9ae

Please sign in to comment.