tests/motion: Do not step in test_motion::ResetMotionSim

Calling stepUntilDone defeats the purpose of the following REQUIRE().
The test should always start from a clean state.
pull/153/head
Yuri D'Elia 2022-01-30 12:08:53 +01:00 committed by DRracer
parent cabf284882
commit e7003133f5
1 changed files with 0 additions and 1 deletions

View File

@ -26,7 +26,6 @@ ssize_t stepUntilDone(size_t maxSteps = 100000) {
} }
void ResetMotionSim() { void ResetMotionSim() {
stepUntilDone();
REQUIRE(motion.QueueEmpty()); REQUIRE(motion.QueueEmpty());
motion.SetPosition(Idler, 0); motion.SetPosition(Idler, 0);