Skip to content

Commit

Permalink
Finalize last TODO with must_stop
Browse files Browse the repository at this point in the history
  • Loading branch information
YannLocatelli committed Jan 23, 2024
1 parent 0836992 commit e7c54f0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,15 @@ auto AutochargeSeal::convertToPwmFrom(float angle) const -> float
return res;
}

// LCOV_EXCL_START
void AutochargeSeal::run()
{
must_stop = true; // TODO: Update for UT

do {
must_stop = false;
while (!must_stop) {
loop();
} while (!must_stop);
}
}
// LCOV_EXCL_STOP

void AutochargeSeal::loop()
{
Expand Down

0 comments on commit e7c54f0

Please sign in to comment.