Skip to content

Commit

Permalink
Fix CountDown::tick() method
Browse files Browse the repository at this point in the history
  • Loading branch information
23Emaaaa committed Nov 30, 2023
1 parent 6142b7d commit 6900987
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions smart_bridge/src/tasks/CountDown.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ CountDown::CountDown(int countDown) : Task()
this->init(1000);
}

void CountDown::tick()
{
printCountDown();
decreaseCountDown();
endsCountDown();
}

int CountDown::getCountDown()
{
return countDown;
Expand Down Expand Up @@ -92,4 +85,11 @@ void CountDown::resumeCountDown()
this->pausedCountDown = -1;
this->setActive(true);
}
}

void CountDown::tick()
{
printCountDown();
decreaseCountDown();
endsCountDown();
}

0 comments on commit 6900987

Please sign in to comment.