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 Dec 20, 2023
1 parent 85a0011 commit 1fac8a7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ auto AutochargeSeal::convertToPwmFrom(float angle) const -> float

void AutochargeSeal::run()

Check warning on line 25 in libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp

View check run for this annotation

Codecov / codecov/patch

libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp#L25

Added line #L25 was not covered by tests
{
must_stop = true; // TODO: Update for UT

do {
must_stop = false;
while (!must_stop) {
loop();

Check warning on line 29 in libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp

View check run for this annotation

Codecov / codecov/patch

libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp#L27-L29

Added lines #L27 - L29 were not covered by tests
} while (!must_stop);
}
}

Check warning on line 31 in libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp

View check run for this annotation

Codecov / codecov/patch

libs/BehaviorKit/source/behaviors/AutochargeSeal.cpp#L31

Added line #L31 was not covered by tests

void AutochargeSeal::loop()
Expand Down

0 comments on commit 1fac8a7

Please sign in to comment.